em
/
gjk-ansible-fedora
Archived
1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

16 lines
493 B
YAML

2 years ago
- name: GJK Fedora update script
hosts: all
user: administrator
become: true
tasks:
- name: Update system
dnf:
name: "*"
state: latest
- name: Boot Windows by default (PoV)
when: inventory_hostname in groups['PoV']
command: "grub2-set-default \"Windows 8 (on /dev/sda1)\""
- name: Boot Windows by default (PoM)
when: inventory_hostname in groups['PoM']
command: "grub2-set-default \"Windows Boot Manager (on /dev/nvme0n1p1)\""