diff --git a/tasks/verify.yml b/tasks/verify.yml index 8111a09..ca4b7dd 100644 --- a/tasks/verify.yml +++ b/tasks/verify.yml @@ -9,15 +9,17 @@ ansible.builtin.debug: msg: "{{ addc_reverse_zone_name }} {{ addc_ansible_host }} {{ addc_admin_password }} {{ addc_ip_last_octet }} {{ addc_hostname }} {{ addc_auth_domain }}" -- name: Ensure python3-pip is installed - ansible.builtin.package: - name: python3-pip - state: present +# - name: Ensure python3-pip is installed (optional) +# ansible.builtin.apt: +# name: python3-pip +# state: present +# become: true -- name: Ensure pexpect is installed - ansible.builtin.pip: - name: pexpect - executable: pip3 +- name: Ensure pexpect is installed (via apt) + ansible.builtin.apt: + name: python3-pexpect + state: present + become: true - name: "Create the reverse DNS zone {{ addc_reverse_zone_name }}" ansible.builtin.expect: