Blame playbooks/host/host-present-with-randompassword.yml

Packit 8cb997
---
Packit 8cb997
- name: Host present with random password
Packit 8cb997
  hosts: ipaserver
Packit 8cb997
  become: true
Packit 8cb997
Packit 8cb997
  tasks:
Packit 8cb997
  - name: Host host01.example.com present with random password
Packit 8cb997
    ipahost:
Packit Service 0f71a7
      ipaadmin_password: SomeADMINpassword
Packit 8cb997
      name: host01.example.com
Packit 8cb997
      random: yes
Packit 8cb997
      force: yes
Packit 8cb997
    register: ipahost
Packit 8cb997
Packit 8cb997
  - name: Print generated random password
Packit 8cb997
    debug:
Packit 8cb997
      var: ipahost.host.randompassword