litle change
This commit is contained in:
parent
fbce987760
commit
f290f39cfc
@ -1,20 +1,20 @@
|
|||||||
- name: upgrade system
|
#- name: upgrade system
|
||||||
pacman:
|
# pacman:
|
||||||
state: latest # not required. choices: absent;latest;present. Desired state of the package.
|
# state: latest # not required. choices: absent;latest;present. Desired state of the package.
|
||||||
upgrade: true # not required. Whether or not to upgrade whole system.
|
# upgrade: true # not required. Whether or not to upgrade whole system.
|
||||||
force: true # not required. When removing package - force remove package, without any checks. When update_cache - force redownload repo databases.
|
# force: true # not required. When removing package - force remove package, without any checks. When update_cache - force redownload repo databases.
|
||||||
update_cache: true
|
# update_cache: true
|
||||||
become: yes
|
# become: yes
|
||||||
register: upgrade
|
# register: upgrade
|
||||||
|
#
|
||||||
- debug:
|
#- debug:
|
||||||
var: upgrade
|
# var: upgrade
|
||||||
|
#
|
||||||
- name: Reboot updates to apply
|
#- name: Reboot updates to apply
|
||||||
reboot:
|
# reboot:
|
||||||
reboot_timeout: 3600
|
# reboot_timeout: 3600
|
||||||
when: upgrade.changed and "linux" in upgrade.packages
|
# when: upgrade.changed and "linux" in upgrade.packages
|
||||||
become: yes
|
# become: yes
|
||||||
|
|
||||||
- name: launch base install software
|
- name: launch base install software
|
||||||
pacman:
|
pacman:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
|
|
||||||
- name: Ensure hostname set
|
- name: Ensure hostname set
|
||||||
hostname: name={{ inventory_hostname }}
|
hostname: name={{ inventory_hostname }}
|
||||||
|
become: yes
|
||||||
|
Loading…
Reference in New Issue
Block a user