forked from jakub/ansible
Update initial_install/roles/freeipa_client/tasks/main.yml
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
```yaml
|
||||
---
|
||||
- name: DEBUG - confirm new file is used
|
||||
ansible.builtin.debug:
|
||||
msg: "🔥 NEW FREEIPA ROLE VERSION IS RUNNING 🔥"
|
||||
|
||||
- name: DEBUG - show ipa_admin_password presence
|
||||
ansible.builtin.debug:
|
||||
msg: "ipa_admin_password={{ ipa_admin_password | default('NOT SET') }}"
|
||||
|
||||
- name: Install FreeIPA client packages
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
@@ -14,6 +22,10 @@
|
||||
ansible.builtin.hostname:
|
||||
name: "{{ inventory_hostname }}.im.lab"
|
||||
|
||||
- name: DEBUG - show hostname used
|
||||
ansible.builtin.debug:
|
||||
msg: "Hostname will be {{ inventory_hostname }}.im.lab"
|
||||
|
||||
- name: Enroll to FreeIPA
|
||||
ansible.builtin.command: >
|
||||
ipa-client-install
|
||||
|
||||
Reference in New Issue
Block a user