2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-12-04 02:24:42 +00:00
confluent/confluent_osdeploy/el7/profiles/default/ansible/firstboot.d
Jarrod Johnson 945f108548 Fix inconsistencies between el7 and el8
While there are still differences, minimize
the ones that aren't for specific reasons
2021-04-23 09:08:50 -04:00
..
README.txt Fix inconsistencies between el7 and el8 2021-04-23 09:08:50 -04:00

Ansible playbooks ending in .yml or .yaml that are placed into this directory will be executed at the
appropriate phase of the install process.

The 'hosts' may be omitted, and if included will be ignored, replaced with the host that is specifically
requesting the playbooks be executed.

Also, the playbooks will be executed on the deployment server. Hence it may be slower in aggregate than
running content under scripts/ which ask much less of the deployment server

Here is an example of what a playbook would look like broadly:

- name: Example
  gather_facts: no
  tasks:
       - name: Example1
         lineinfile:
           path: /etc/hosts
           line: 1.2.3.4 test1
           create: yes
       - name: Example2
         lineinfile:
           path: /etc/hosts
           line: 1.2.3.5 test2
           create: yes