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