RHEL
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
- name: Prepeare OS Linux (Rocky + Ubuntu) after install
|
---
|
||||||
|
- name: Prepeare OS Linux (RHEL) after install
|
||||||
hosts: all
|
hosts: all
|
||||||
become: yes
|
become: yes
|
||||||
|
|
||||||
@@ -25,8 +26,3 @@
|
|||||||
selinux: state=disabled
|
selinux: state=disabled
|
||||||
when: ansible_facts['selinux']['status']!="disabled"
|
when: ansible_facts['selinux']['status']!="disabled"
|
||||||
|
|
||||||
- name: Do not prompt for sudo password for zmaster
|
|
||||||
lineinfile: path="/etc/sudoers" line="{{ item }}"
|
|
||||||
loop:
|
|
||||||
- "zmaster ALL=(ALL) NOPASSWD: ALL"
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
- name: Update all system packages
|
- name: Update all system packages
|
||||||
hosts: all
|
hosts: all
|
||||||
become: yes
|
become: yes
|
||||||
|
|||||||
Reference in New Issue
Block a user