merge with master
This commit is contained in:
commit
4bc20a3fd7
@ -42,6 +42,7 @@ system_base_softwares_arch:
|
|||||||
- 'unrar'
|
- 'unrar'
|
||||||
- 'git-lfs'
|
- 'git-lfs'
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
system_base_softwares_debian:
|
system_base_softwares_debian:
|
||||||
- 'zsh'
|
- 'zsh'
|
||||||
- 'stow'
|
- 'stow'
|
||||||
@ -73,3 +74,7 @@ system_base_softwares_debian:
|
|||||||
- 'git-lfs'
|
- 'git-lfs'
|
||||||
|
|
||||||
|
|
||||||
|
=======
|
||||||
|
|
||||||
|
system_upgrade: false
|
||||||
|
>>>>>>> master
|
||||||
|
@ -1,20 +1,3 @@
|
|||||||
#- name: upgrade system
|
|
||||||
# pacman:
|
|
||||||
# state: latest # not required. choices: absent;latest;present. Desired state of the package.
|
|
||||||
# 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.
|
|
||||||
# update_cache: true
|
|
||||||
# become: yes
|
|
||||||
# register: upgrade
|
|
||||||
#
|
|
||||||
#- debug:
|
|
||||||
# var: upgrade
|
|
||||||
#
|
|
||||||
#- name: Reboot updates to apply
|
|
||||||
# reboot:
|
|
||||||
# reboot_timeout: 3600
|
|
||||||
# when: upgrade.changed and "linux" in upgrade.packages
|
|
||||||
# become: yes
|
|
||||||
|
|
||||||
- name: launch base install software
|
- name: launch base install software
|
||||||
pacman:
|
pacman:
|
||||||
@ -61,3 +44,18 @@
|
|||||||
apt:
|
apt:
|
||||||
deb: "{{debian_url}}"
|
deb: "{{debian_url}}"
|
||||||
when: ansible_facts['os_family'] == "Debian"
|
when: ansible_facts['os_family'] == "Debian"
|
||||||
|
- name: upgrade system
|
||||||
|
pacman:
|
||||||
|
state: latest # not required. choices: absent;latest;present. Desired state of the package.
|
||||||
|
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.
|
||||||
|
update_cache: false
|
||||||
|
become: yes
|
||||||
|
when: system_upgrade
|
||||||
|
register: upgrade
|
||||||
|
|
||||||
|
- name: Reboot updates to apply
|
||||||
|
reboot:
|
||||||
|
reboot_timeout: 3600
|
||||||
|
when: upgrade.changed and "linux" in upgrade.packages and system_upgrade
|
||||||
|
become: yes
|
||||||
|
Loading…
Reference in New Issue
Block a user