This commit is contained in:
parent
50e1af646f
commit
b5ca8ef522
1 changed files with 7 additions and 7 deletions
|
|
@ -7,7 +7,7 @@
|
|||
package:
|
||||
name: "{{ item }}"
|
||||
update_cache: yes
|
||||
state: latest
|
||||
state: present
|
||||
with_items:
|
||||
- epel-release
|
||||
when:
|
||||
|
|
@ -32,7 +32,7 @@
|
|||
package:
|
||||
name: "{{ base_packages }}"
|
||||
update_cache: yes
|
||||
state: latest
|
||||
state: present
|
||||
|
||||
- name: echo 'LANG="{{ locale }}"' > /etc/locale.conf
|
||||
template:
|
||||
|
|
@ -66,11 +66,11 @@
|
|||
- ansible_os_family == "RedHat"
|
||||
- ansible_distribution_major_version == '7'
|
||||
|
||||
- name: upgrade all packages
|
||||
package:
|
||||
name: "*"
|
||||
update_cache: yes
|
||||
state: latest
|
||||
# - name: upgrade all packages
|
||||
# package:
|
||||
# name: "*"
|
||||
# update_cache: yes
|
||||
# state: latest
|
||||
|
||||
- name: Install install_pxe.sh script
|
||||
copy:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue