Commit a5b62f85 authored by Dmitriy Safronov's avatar Dmitriy Safronov
Browse files

fix

parent 0dd2e3be
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
- src: https://gitlab.cyberbrain.pw/ansible/roles/essential
  scm: git

- src: https://gitlab.cyberbrain.pw/ansible/roles/ucarp-systemd
- src: https://gitlab.cyberbrain.pw/ansible/roles/ucarp_systemd
  scm: git

- src: https://gitlab.cyberbrain.pw/ansible/roles/freeipa_le_ca
  scm: git
+14 −11
Original line number Diff line number Diff line
@@ -5,14 +5,17 @@
  become: yes
  roles:
    - ucarp-systemd
#
#- hosts: ipaserver:ipareplicas
#  tasks:
#    - name: Populate /etc/hosts
#      lineinfile:
#        dest: /etc/hosts
#        regexp: '.*{{ item }}$'
#        line: "{{ hostvars[item].ansible_default_ipv4.address }} {{item}}"
#        state: present
#      when: hostvars[item].ansible_default_ipv4.address is defined
#      with_items: groups['ipaserver','ipareplicas']

- name: Install LE CA
  hosts: ipaserver
  become: yes
  roles:
    - freeipa_le_ca

- name: Install certs
  hosts: ipaserver:ipareplicas
  become: yes
  tasks:
    - name: Update IPA certs
      ansible.builtin.shell: ipa-certupdate
      changed_when: False