From d3c6b976ba1da90cbdd6706cf5c9c79323962a1e Mon Sep 17 00:00:00 2001 From: Thomas Woerner <twoerner@redhat.com> Date: Wed, 26 Feb 2020 12:35:56 +0100 Subject: [PATCH] tests: Unite admin passwords The tests have been using MyPassword123 and also SomeADMINpassword within the tasks of the tests. SomeADMINpassword should be used everywhere. --- tests/group/test_group.yml | 38 ++--- tests/hbacrule/test_hbacrule.yml | 130 +++++++++--------- tests/hbacsvc/test_hbacsvc.yml | 14 +- tests/hbacsvcgroup/test_hbacsvcgroup.yml | 20 +-- tests/host/test_host.yml | 34 ++--- tests/host/test_host_allow_create_keytab.yml | 44 +++--- .../host/test_host_allow_retrieve_keytab.yml | 44 +++--- tests/host/test_host_bool_params.yml | 24 ++-- tests/host/test_host_ipaddresses.yml | 50 +++---- tests/host/test_host_managedby_host.yml | 24 ++-- tests/host/test_host_principal.yml | 22 +-- tests/host/test_host_random.yml | 10 +- tests/host/test_hosts.yml | 10 +- tests/host/test_hosts_managedby_host.yml | 16 +-- tests/host/test_hosts_principal.yml | 22 +-- tests/hostgroup/test_hostgroup.yml | 36 ++--- tests/pwpolicy/test_pwpolicy.yml | 2 +- tests/sudocmd/test_sudocmd.yml | 26 ++-- tests/sudocmdgroup/test_sudocmdgroup.yml | 32 ++--- tests/sudorule/test_sudorule.yml | 92 ++++++------- tests/user/test_user_random.yml | 10 +- tests/vault/test_vault.yml | 112 +++++++-------- 22 files changed, 406 insertions(+), 406 deletions(-) diff --git a/tests/group/test_group.yml b/tests/group/test_group.yml index 23b4e4ea..28df3a5a 100644 --- a/tests/group/test_group.yml +++ b/tests/group/test_group.yml @@ -7,19 +7,19 @@ tasks: - name: Ensure users user1, user2 and user3 are absent ipauser: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: user1,user2,user3 state: absent - name: Ensure group group3, group2 and group1 are absent ipagroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: group3,group2,group1 state: absent - name: Ensure users user1..user3 are present ipauser: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword users: - name: user1 first: user1 @@ -35,49 +35,49 @@ - name: Ensure group1 is present ipagroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: group1 register: result failed_when: not result.changed - name: Ensure group1 is present again ipagroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: group1 register: result failed_when: result.changed - name: Ensure group2 is present ipagroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: group2 register: result failed_when: not result.changed - name: Ensure group2 is present again ipagroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: group2 register: result failed_when: result.changed - name: Ensure group3 is present ipagroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: group3 register: result failed_when: not result.changed - name: Ensure group3 is present again ipagroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: group3 register: result failed_when: result.changed - name: Ensure groups group2 and group3 are present in group group1 ipagroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: group1 group: - group2 @@ -88,7 +88,7 @@ - name: Ensure groups group2 and group3 are present in group group1 again ipagroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: group1 group: - group2 @@ -99,7 +99,7 @@ - name: Ensure group3 ia present in group group1 ipagroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: group1 group: - group3 @@ -109,7 +109,7 @@ - name: Ensure users user1, user2 and user3 are present in group group1 ipagroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: group1 user: - user1 @@ -121,7 +121,7 @@ - name: Ensure users user1, user2 and user3 are present in group group1 again ipagroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: group1 user: - user1 @@ -132,7 +132,7 @@ failed_when: result.changed #- ipagroup: - # ipaadmin_password: MyPassword123 + # ipaadmin_password: SomeADMINpassword # name: group1 # user: # - user7 @@ -140,7 +140,7 @@ - name: Ensure user user7 is absent in group group1 ipagroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: group1 user: - user7 @@ -151,7 +151,7 @@ - name: Ensure group group4 is absent ipagroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: group4 state: absent register: result @@ -159,7 +159,7 @@ - name: Ensure group group3, group2 and group1 are absent ipagroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: group3,group2,group1 state: absent register: result @@ -167,7 +167,7 @@ - name: Ensure users user1, user2 and user3 are absent ipauser: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: user1,user2,user3 state: absent register: result diff --git a/tests/hbacrule/test_hbacrule.yml b/tests/hbacrule/test_hbacrule.yml index 0372e6ce..4d0c2030 100644 --- a/tests/hbacrule/test_hbacrule.yml +++ b/tests/hbacrule/test_hbacrule.yml @@ -13,7 +13,7 @@ - name: Ensure test hosts are absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - "{{ 'testhost01.' + ipaserver_domain }}" - "{{ 'testhost02.' + ipaserver_domain }}" @@ -23,31 +23,31 @@ - name: Ensure test hostgroups are absent ipahostgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testhostgroup01,testhostgroup02,testhostgroup03,testhostgroup04 state: absent - name: Ensure test users are absent ipauser: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testuser01,testuser02,testuser03,testuser04 state: absent - name: Ensure test user groups are absent ipagroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testgroup01,testgroup02,testgroup03,testgroup04 state: absent - name: Ensure test HBAC Services are absent ipahbacsvc: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testhbacsvc01,testhbacsvc02,testhbacsvc03,testhbacsvc04 state: absent - name: Ensure test HBAC Service Groups are absent ipahbacsvcgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testhbacsvcgroup01,testhbacsvcgroup02,testhbacsvcgroup03,testhbacsvcgroup04 state: absent @@ -55,7 +55,7 @@ - name: Ensure hosts "{{ 'host[1..4].' + ipaserver_domain }}" are present ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: "{{ 'testhost01.' + ipaserver_domain }}" force: yes @@ -70,35 +70,35 @@ - name: Ensure host-group testhostgroup01 is present ipahostgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testhostgroup01 register: result failed_when: not result.changed - name: Ensure host-group testhostgroup02 is present ipahostgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testhostgroup02 register: result failed_when: not result.changed - name: Ensure host-group testhostgroup03 is present ipahostgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testhostgroup03 register: result failed_when: not result.changed - name: Ensure host-group testhostgroup04 is present ipahostgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testhostgroup04 register: result failed_when: not result.changed - name: Ensure testusers are present ipauser: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword users: - name: testuser01 first: test @@ -117,91 +117,91 @@ - name: Ensure user group testgroup01 is present ipagroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testgroup01 register: result failed_when: not result.changed - name: Ensure user group testgroup02 is present ipagroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testgroup02 register: result failed_when: not result.changed - name: Ensure user group testgroup03 is present ipagroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testgroup03 register: result failed_when: not result.changed - name: Ensure user group testgroup04 is present ipagroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testgroup04 register: result failed_when: not result.changed - name: Ensure HBAC Service testhbacsvc01 is present ipahbacsvc: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testhbacsvc01 register: result failed_when: not result.changed - name: Ensure HBAC Service testhbacsvc02 is present ipahbacsvc: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testhbacsvc02 register: result failed_when: not result.changed - name: Ensure HBAC Service testhbacsvc03 is present ipahbacsvc: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testhbacsvc03 register: result failed_when: not result.changed - name: Ensure HBAC Service testhbacsvc04 is present ipahbacsvc: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testhbacsvc04 register: result failed_when: not result.changed - name: Ensure HBAC Service Group testhbacsvcgroup01 is present ipahbacsvcgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testhbacsvcgroup01 register: result failed_when: not result.changed - name: Ensure HBAC Service Group testhbacsvcgroup02 is present ipahbacsvcgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testhbacsvcgroup02 register: result failed_when: not result.changed - name: Ensure HBAC Service Group testhbacsvcgroup03 is present ipahbacsvcgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testhbacsvcgroup03 register: result failed_when: not result.changed - name: Ensure HBAC Service Group testhbacsvcgroup04 is present ipahbacsvcgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testhbacsvcgroup04 register: result failed_when: not result.changed - name: Ensure test HBAC rule hbacrule01 is absent ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 state: absent @@ -209,14 +209,14 @@ - name: Ensure HBAC rule hbacrule01 is present ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 register: result failed_when: not result.changed - name: Ensure HBAC rule hbacrule01 is present again ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 register: result failed_when: result.changed @@ -225,7 +225,7 @@ - name: Ensure HBAC rule hbacrule01 is present with hosts, hostgroups, users, groups, hbassvcs and hbacsvcgroups ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 host: - "{{ 'testhost01.' + ipaserver_domain }}" @@ -240,7 +240,7 @@ - name: Ensure HBAC rule hbacrule01 is present with hosts, hostgroups, users, groups, hbassvcs and hbacsvcgroups again ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 host: - "{{ 'testhost01.' + ipaserver_domain }}" @@ -257,7 +257,7 @@ - name: Ensure test HBAC rule hbacrule01 host members are absent ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 host: - "{{ 'testhost01.' + ipaserver_domain }}" @@ -269,7 +269,7 @@ - name: Ensure test HBAC rule hbacrule01 host members are absent again ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 host: - "{{ 'testhost01.' + ipaserver_domain }}" @@ -281,7 +281,7 @@ - name: Ensure test HBAC rule hbacrule01 hostgroup members are absent ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 hostgroup: testhostgroup01,testhostgroup02 state: absent @@ -291,7 +291,7 @@ - name: Ensure test HBAC rule hbacrule01 hostgroup members are absent again ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 hostgroup: testhostgroup01,testhostgroup02 state: absent @@ -301,7 +301,7 @@ - name: Ensure test HBAC rule hbacrule01 user members are absent ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 user: testuser01,testuser02 state: absent @@ -311,7 +311,7 @@ - name: Ensure test HBAC rule hbacrule01 user members are absent again ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 user: testuser01,testuser02 state: absent @@ -321,7 +321,7 @@ - name: Ensure test HBAC rule hbacrule01 user group members are absent ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 group: testgroup01,testgroup02 state: absent @@ -331,7 +331,7 @@ - name: Ensure test HBAC rule hbacrule01 user group members are absent again ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 group: testgroup01,testgroup02 state: absent @@ -341,7 +341,7 @@ - name: Ensure test HBAC rule hbacrule01 hbacsvc members are absent ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 hbacsvc: testhbacsvc01,testhbacsvc02 state: absent @@ -351,7 +351,7 @@ - name: Ensure test HBAC rule hbacrule01 hbacsvc members are absent again ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 hbacsvc: testhbacsvc01,testhbacsvc02 state: absent @@ -361,7 +361,7 @@ - name: Ensure test HBAC rule hbacrule01 hbacsvcgroup members are absent ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 hbacsvcgroup: testhbacsvcgroup01,testhbacsvcgroup02 state: absent @@ -371,7 +371,7 @@ - name: Ensure test HBAC rule hbacrule01 hbacsvcgroup members are absent again ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 hbacsvcgroup: testhbacsvcgroup01,testhbacsvcgroup02 state: absent @@ -383,7 +383,7 @@ - name: Ensure test HBAC rule hbacrule01 host members are present ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 host: - "{{ 'testhost01.' + ipaserver_domain }}" @@ -394,7 +394,7 @@ - name: Ensure test HBAC rule hbacrule01 host members are present again ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 host: - "{{ 'testhost01.' + ipaserver_domain }}" @@ -405,7 +405,7 @@ - name: Ensure test HBAC rule hbacrule01 hostgroup members are present ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 hostgroup: testhostgroup01,testhostgroup02 action: member @@ -414,7 +414,7 @@ - name: Ensure test HBAC rule hbacrule01 hostgroup members are present again ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 hostgroup: testhostgroup01,testhostgroup02 action: member @@ -423,7 +423,7 @@ - name: Ensure test HBAC rule hbacrule01 user members are present ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 user: testuser01,testuser02 action: member @@ -432,7 +432,7 @@ - name: Ensure test HBAC rule hbacrule01 user members are present again ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 user: testuser01,testuser02 action: member @@ -441,7 +441,7 @@ - name: Ensure test HBAC rule hbacrule01 user group members are present ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 group: testgroup01,testgroup02 action: member @@ -450,7 +450,7 @@ - name: Ensure test HBAC rule hbacrule01 user group members are present again ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 group: testgroup01,testgroup02 action: member @@ -459,7 +459,7 @@ - name: Ensure test HBAC rule hbacrule01 hbacsvc members are present ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 hbacsvc: testhbacsvc01,testhbacsvc02 action: member @@ -468,7 +468,7 @@ - name: Ensure test HBAC rule hbacrule01 hbacsvc members are present again ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 hbacsvc: testhbacsvc01,testhbacsvc02 action: member @@ -477,7 +477,7 @@ - name: Ensure test HBAC rule hbacrule01 hbacsvcgroup members are present ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 hbacsvcgroup: testhbacsvcgroup01,testhbacsvcgroup02 action: member @@ -486,7 +486,7 @@ - name: Ensure test HBAC rule hbacrule01 hbacsvcgroup members are present again ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 hbacsvcgroup: testhbacsvcgroup01,testhbacsvcgroup02 action: member @@ -497,7 +497,7 @@ - name: Ensure HBAC rule hbacrule01 is present with different hosts, hostgroups, users, groups, hbassvcs and hbacsvcgroups ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 host: - "{{ 'testhost03.' + ipaserver_domain }}" @@ -512,7 +512,7 @@ - name: Ensure HBAC rule hbacrule01 is present with different hosts, hostgroups, users, groups, hbassvcs and hbacsvcgroups again ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 host: - "{{ 'testhost03.' + ipaserver_domain }}" @@ -529,7 +529,7 @@ - name: Ensure HBAC rule hbacrule01 members (same) are present ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 host: - "{{ 'testhost01.' + ipaserver_domain }}" @@ -548,7 +548,7 @@ - name: Ensure HBAC rule hbacrule01 members are absent ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 host: - "{{ 'testhost03.' + ipaserver_domain }}" @@ -565,7 +565,7 @@ - name: Ensure HBAC rule hbacrule01 members are absent again ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 host: - "{{ 'testhost03.' + ipaserver_domain }}" @@ -584,13 +584,13 @@ - name: Ensure test HBAC rule hbacrule01 is absent ipahbacrule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hbacrule01 state: absent - name: Ensure test hosts are absent ipahostgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - "{{ 'testhost01.' + ipaserver_domain }}" - "{{ 'testhost02.' + ipaserver_domain }}" @@ -600,30 +600,30 @@ - name: Ensure test hostgroups are absent ipahostgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testhostgroup01,testhostgroup02,testhostgroup03,testhostgroup04 state: absent - name: Ensure test users are absent ipauser: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testuser01,testuser02,testuser03,testuser04 state: absent - name: Ensure test user groups are absent ipagroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testgroup01,testgroup02,testgroup03,testgroup04 state: absent - name: Ensure test HBAC Services are absent ipahbacsvc: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testhbacsvc01,testhbacsvc02,testhbacsvc03,testhbacsvc04 state: absent - name: Ensure test HBAC Service Groups are absent ipahbacsvcgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testhbacsvcgroup01,testhbacsvcgroup02,testhbacsvcgroup03,testhbacsvcgroup04 state: absent diff --git a/tests/hbacsvc/test_hbacsvc.yml b/tests/hbacsvc/test_hbacsvc.yml index f6d8393c..87a6bbd5 100644 --- a/tests/hbacsvc/test_hbacsvc.yml +++ b/tests/hbacsvc/test_hbacsvc.yml @@ -7,27 +7,27 @@ tasks: - name: Ensure HBAC Service for http is absent ipahbacsvc: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: http,tftp state: absent - name: Ensure HBAC Service for http is present ipahbacsvc: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: http register: result failed_when: not result.changed - name: Ensure HBAC Service for http is present again ipahbacsvc: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: http register: result failed_when: result.changed - name: Ensure HBAC Service for tftp is present ipahbacsvc: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: tftp description: TFTP service register: result @@ -35,7 +35,7 @@ - name: Ensure HBAC Service for tftp is present again ipahbacsvc: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: tftp description: TFTP service register: result @@ -43,7 +43,7 @@ - name: Ensure HBAC Services for http and tftp are absent ipahbacsvc: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: http,tftp state: absent register: result @@ -51,7 +51,7 @@ - name: Ensure HBAC Services for http and tftp are absent again ipahbacsvc: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: http,tftp state: absent register: result diff --git a/tests/hbacsvcgroup/test_hbacsvcgroup.yml b/tests/hbacsvcgroup/test_hbacsvcgroup.yml index 5a9e67d1..853efa29 100644 --- a/tests/hbacsvcgroup/test_hbacsvcgroup.yml +++ b/tests/hbacsvcgroup/test_hbacsvcgroup.yml @@ -7,32 +7,32 @@ tasks: - name: Ensure HBAC Service Group login is absent ipahbacsvcgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: login state: absent - name: Ensure HBAC Service for sshd is present ipahbacsvc: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: login - name: Ensure HBAC Service Group login is present ipahbacsvcgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: login register: result failed_when: not result.changed - name: Ensure HBAC Service Group login is present again ipahbacsvcgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: login register: result failed_when: result.changed - name: Ensure HBAC Service sshd is present in HBAC Service Group login ipahbacsvcgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: login hbacsvc: - sshd @@ -42,7 +42,7 @@ - name: Ensure HBAC Service sshd is present in HBAC Service Group login again ipahbacsvcgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: login hbacsvc: - sshd @@ -52,7 +52,7 @@ - name: Ensure HBAC Services sshd and foo are absent in HBAC Service Group login ipahbacsvcgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: login hbacsvc: - sshd @@ -64,7 +64,7 @@ - name: Ensure HBAC Services sshd and foo are absent in HBAC Service Group login again ipahbacsvcgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: login hbacsvc: - sshd @@ -76,7 +76,7 @@ - name: Ensure HBAC Service Group login is absent ipahbacsvcgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: login state: absent register: result @@ -84,7 +84,7 @@ - name: Ensure HBAC Service Group login is absent again ipahbacsvcgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: login state: absent register: result diff --git a/tests/host/test_host.yml b/tests/host/test_host.yml index f3ec11df..efb0524a 100644 --- a/tests/host/test_host.yml +++ b/tests/host/test_host.yml @@ -20,7 +20,7 @@ - name: Host absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - "{{ host1_fqdn }}" - "{{ host2_fqdn }}" @@ -38,7 +38,7 @@ - name: Host "{{ host1_fqdn }}" present ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" ip_address: "{{ ipv4_prefix + '.201' }}" update_dns: yes @@ -48,7 +48,7 @@ - name: Host "{{ host1_fqdn }}" present again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" ip_address: "{{ ipv4_prefix + '.201' }}" update_dns: yes @@ -58,7 +58,7 @@ - name: Host "{{ host2_fqdn }}" present ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host2_fqdn }}" ip_address: "{{ ipv4_prefix + '.202' }}" update_dns: yes @@ -68,7 +68,7 @@ - name: Host "{{ host2_fqdn }}" present again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host2_fqdn }}" ip_address: "{{ ipv4_prefix + '.202' }}" update_dns: yes @@ -78,7 +78,7 @@ - name: Host "{{ host3_fqdn }}" present ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host3_fqdn }}" ip_address: "{{ ipv4_prefix + '.203' }}" update_dns: yes @@ -88,7 +88,7 @@ - name: Host "{{ host3_fqdn }}" present again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host3_fqdn }}" ip_address: "{{ ipv4_prefix + '.203' }}" update_dns: yes @@ -98,7 +98,7 @@ - name: Host "{{ host4_fqdn }}" present ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host4_fqdn }}" ip_address: "{{ ipv4_prefix + '.204' }}" update_dns: yes @@ -108,7 +108,7 @@ - name: Host "{{ host4_fqdn }}" present again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host4_fqdn }}" ip_address: "{{ ipv4_prefix + '.204' }}" update_dns: yes @@ -118,7 +118,7 @@ - name: Host "{{ host5_fqdn }}" present ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host5_fqdn }}" ip_address: "{{ ipv4_prefix + '.205' }}" update_dns: yes @@ -128,7 +128,7 @@ - name: Host "{{ host5_fqdn }}" present again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host5_fqdn }}" ip_address: "{{ ipv4_prefix + '.205' }}" update_dns: yes @@ -138,7 +138,7 @@ - name: Host "{{ host6_fqdn }}" present ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host6_fqdn }}" ip_address: "{{ ipv4_prefix + '.206' }}" update_dns: yes @@ -148,7 +148,7 @@ - name: Host "{{ host6_fqdn }}" present again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host6_fqdn }}" ip_address: "{{ ipv4_prefix + '.206' }}" update_dns: yes @@ -160,7 +160,7 @@ # not enabled. #- name: Hosts host1..host6 disabled # ipahost: - # ipaadmin_password: MyPassword123 + # ipaadmin_password: SomeADMINpassword # name: # - "{{ host1_fqdn }}" # - "{{ host2_fqdn }}" @@ -174,7 +174,7 @@ # #- name: Hosts host1..host6 disabled again # ipahost: - # ipaadmin_password: MyPassword123 + # ipaadmin_password: SomeADMINpassword # name: # - "{{ host1_fqdn }}" # - "{{ host2_fqdn }}" @@ -188,7 +188,7 @@ - name: Hosts host1..host6 absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - "{{ host1_fqdn }}" - "{{ host2_fqdn }}" @@ -203,7 +203,7 @@ - name: Hosts host1..host6 absent again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - "{{ host1_fqdn }}" - "{{ host2_fqdn }}" diff --git a/tests/host/test_host_allow_create_keytab.yml b/tests/host/test_host_allow_create_keytab.yml index eb7b7764..b9ad0a19 100644 --- a/tests/host/test_host_allow_create_keytab.yml +++ b/tests/host/test_host_allow_create_keytab.yml @@ -22,7 +22,7 @@ - name: Host host1..., host2... and host3... absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - "{{ host1_fqdn }}" - "{{ host2_fqdn }}" @@ -31,13 +31,13 @@ - name: Ensure host-groups hostgroup1 and hostgroup2 absent ipahostgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hostgroup1,hostgroup2 state: absent - name: Ensure users user1 and user2 absent ipauser: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword users: - name: user1 - name: user2 @@ -45,13 +45,13 @@ - name: Ensure group1 and group2 absent ipagroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: group1,group2 state: absent - name: Host host2... and host3... present ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: "{{ host2_fqdn }}" force: yes @@ -62,7 +62,7 @@ - name: Ensure host-group hostgroup1 present ipahostgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hostgroup1 state: present register: result @@ -70,7 +70,7 @@ - name: Ensure host-group hostgroup2 present ipahostgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hostgroup2 state: present register: result @@ -78,7 +78,7 @@ - name: Ensure users user1 and user2 present ipauser: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword users: - name: user1 first: First1 @@ -91,21 +91,21 @@ - name: Ensure group1 present ipagroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: group1 register: result failed_when: not result.changed - name: Ensure group2 present ipagroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: group2 register: result failed_when: not result.changed - name: Host host1... present with allow_create_keytab users,groups,hosts and hostgroups ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" allow_create_keytab_user: - user1 @@ -125,7 +125,7 @@ - name: Host host1... present with allow_create_keytab users,groups,hosts and hostgroups again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" allow_create_keytab_user: - user1 @@ -145,14 +145,14 @@ - name: Host host1... absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - "{{ host1_fqdn }}" state: absent - name: Host host1... present ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" force: yes register: result @@ -160,7 +160,7 @@ - name: Host host1... ensure allow_create_keytab users,groups,hosts and hostgroups present ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" allow_create_keytab_user: - user1 @@ -180,7 +180,7 @@ - name: Host host1... ensure allow_create_keytab users,groups,hosts and hostgroups present again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" allow_create_keytab_user: - user1 @@ -200,7 +200,7 @@ - name: Host host1... ensure allow_create_keytab users,groups,hosts and hostgroups absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" allow_create_keytab_user: - user1 @@ -221,7 +221,7 @@ - name: Host host1... ensure allow_create_keytab users,groups,hosts and hostgroups absent again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" allow_create_keytab_user: - user1 @@ -242,7 +242,7 @@ - name: Host host1..., host2... and host3... absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - "{{ host1_fqdn }}" - "{{ host2_fqdn }}" @@ -253,7 +253,7 @@ - name: Ensure host-groups hostgroup1 and hostgroup2 absent ipahostgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hostgroup1,hostgroup2 state: absent register: result @@ -261,7 +261,7 @@ - name: Ensure users user1 and user2 absent ipauser: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword users: - name: user1 - name: user2 @@ -271,7 +271,7 @@ - name: Ensure group1 and group2 absent ipagroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: group1,group2 state: absent register: result diff --git a/tests/host/test_host_allow_retrieve_keytab.yml b/tests/host/test_host_allow_retrieve_keytab.yml index 65d86aa6..8f955407 100644 --- a/tests/host/test_host_allow_retrieve_keytab.yml +++ b/tests/host/test_host_allow_retrieve_keytab.yml @@ -22,7 +22,7 @@ - name: Host host1..., host2... and host3... absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - "{{ host1_fqdn }}" - "{{ host2_fqdn }}" @@ -31,13 +31,13 @@ - name: Ensure host-groups hostgroup1 and hostgroup2 absent ipahostgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hostgroup1,hostgroup2 state: absent - name: Ensure users user1 and user2 absent ipauser: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword users: - name: user1 - name: user2 @@ -45,13 +45,13 @@ - name: Ensure group1 and group2 absent ipagroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: group1,group2 state: absent - name: Host host2... and host3... present ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: "{{ host2_fqdn }}" force: yes @@ -62,7 +62,7 @@ - name: Ensure host-group hostgroup1 present ipahostgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hostgroup1 state: present register: result @@ -70,7 +70,7 @@ - name: Ensure host-group hostgroup2 present ipahostgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hostgroup2 state: present register: result @@ -78,7 +78,7 @@ - name: Ensure users user1 and user2 present ipauser: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword users: - name: user1 first: First1 @@ -91,21 +91,21 @@ - name: Ensure group1 present ipagroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: group1 register: result failed_when: not result.changed - name: Ensure group2 present ipagroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: group2 register: result failed_when: not result.changed - name: Host host1... present with allow_retrieve_keytab users,groups,hosts and hostgroups ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" allow_retrieve_keytab_user: - user1 @@ -125,7 +125,7 @@ - name: Host host1... present with allow_retrieve_keytab users,groups,hosts and hostgroups again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" allow_retrieve_keytab_user: - user1 @@ -145,14 +145,14 @@ - name: Host host1... absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - "{{ host1_fqdn }}" state: absent - name: Host host1... present ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" force: yes register: result @@ -160,7 +160,7 @@ - name: Host host1... ensure allow_retrieve_keytab users,groups,hosts and hostgroups present ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" allow_retrieve_keytab_user: - user1 @@ -180,7 +180,7 @@ - name: Host host1... ensure allow_retrieve_keytab users,groups,hosts and hostgroups present again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" allow_retrieve_keytab_user: - user1 @@ -200,7 +200,7 @@ - name: Host host1... ensure allow_retrieve_keytab users,groups,hosts and hostgroups absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" allow_retrieve_keytab_user: - user1 @@ -221,7 +221,7 @@ - name: Host host1... ensure allow_retrieve_keytab users,groups,hosts and hostgroups absent again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" allow_retrieve_keytab_user: - user1 @@ -242,7 +242,7 @@ - name: Host host1..., host2... and host3... absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - "{{ host1_fqdn }}" - "{{ host2_fqdn }}" @@ -253,7 +253,7 @@ - name: Ensure host-groups hostgroup1 and hostgroup2 absent ipahostgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: hostgroup1,hostgroup2 state: absent register: result @@ -261,7 +261,7 @@ - name: Ensure users user1 and user2 absent ipauser: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword users: - name: user1 - name: user2 @@ -271,7 +271,7 @@ - name: Ensure group1 and group2 absent ipagroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: group1,group2 state: absent register: result diff --git a/tests/host/test_host_bool_params.yml b/tests/host/test_host_bool_params.yml index 824ea999..efded1f1 100644 --- a/tests/host/test_host_bool_params.yml +++ b/tests/host/test_host_bool_params.yml @@ -15,7 +15,7 @@ - name: Host absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - "{{ host1_fqdn }}" update_dns: yes @@ -23,7 +23,7 @@ - name: Host "{{ host1_fqdn }}" present with requires_pre_auth, ok_as_delegate and ok_to_auth_as_delegate ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" force: yes requires_pre_auth: yes @@ -34,7 +34,7 @@ - name: Host "{{ host1_fqdn }}" present with requires_pre_auth, ok_as_delegate and ok_to_auth_as_delegate again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" requires_pre_auth: yes ok_as_delegate: yes @@ -44,7 +44,7 @@ - name: Host "{{ host1_fqdn }}" present with requires_pre_auth, ok_as_delegate and ok_to_auth_as_delegate set to no ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" requires_pre_auth: no ok_as_delegate: no @@ -54,7 +54,7 @@ - name: Host "{{ host1_fqdn }}" present with requires_pre_auth, ok_as_delegate and ok_to_auth_as_delegate set to no again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" requires_pre_auth: no ok_as_delegate: no @@ -64,7 +64,7 @@ - name: Host "{{ host1_fqdn }}" present with requires_pre_auth ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" requires_pre_auth: yes register: result @@ -72,7 +72,7 @@ - name: Host "{{ host1_fqdn }}" present with requires_pre_auth again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" requires_pre_auth: yes register: result @@ -80,7 +80,7 @@ - name: Host "{{ host1_fqdn }}" present with ok_as_delegate ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" ok_as_delegate: yes register: result @@ -88,7 +88,7 @@ - name: Host "{{ host1_fqdn }}" present with ok_as_delegate again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" ok_as_delegate: yes register: result @@ -96,7 +96,7 @@ - name: Host "{{ host1_fqdn }}" present with ok_to_auth_as_delegate ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" ok_to_auth_as_delegate: yes register: result @@ -104,7 +104,7 @@ - name: Host "{{ host1_fqdn }}" present with ok_to_auth_as_delegate again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" ok_to_auth_as_delegate: yes register: result @@ -112,7 +112,7 @@ - name: Host absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - "{{ host1_fqdn }}" update_dns: yes diff --git a/tests/host/test_host_ipaddresses.yml b/tests/host/test_host_ipaddresses.yml index 136a6101..45500707 100644 --- a/tests/host/test_host_ipaddresses.yml +++ b/tests/host/test_host_ipaddresses.yml @@ -22,7 +22,7 @@ - name: Host absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - "{{ host1_fqdn }}" - "{{ host2_fqdn }}" @@ -32,7 +32,7 @@ - name: Host "{{ host1_fqdn }}" present ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" ip_address: - "{{ ipv4_prefix + '.201' }}" @@ -44,7 +44,7 @@ - name: Host "{{ host1_fqdn }}" present again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" ip_address: - "{{ ipv4_prefix + '.201' }}" @@ -56,7 +56,7 @@ - name: Host "{{ host1_fqdn }}" present again with new IP address ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" ip_address: - "{{ ipv4_prefix + '.211' }}" @@ -70,7 +70,7 @@ - name: Host "{{ host1_fqdn }}" present again with new IP address again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" ip_address: - "{{ ipv4_prefix + '.211' }}" @@ -84,7 +84,7 @@ - name: Host "{{ host1_fqdn }}" member IPv4 address present ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" ip_address: "{{ ipv4_prefix + '.201' }}" action: member @@ -93,7 +93,7 @@ - name: Host "{{ host1_fqdn }}" member IPv4 address present again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" ip_address: "{{ ipv4_prefix + '.201' }}" action: member @@ -102,7 +102,7 @@ - name: Host "{{ host1_fqdn }}" member IPv4 address absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" ip_address: "{{ ipv4_prefix + '.201' }}" action: member @@ -112,7 +112,7 @@ - name: Host "{{ host1_fqdn }}" member IPv4 address absent again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" ip_address: "{{ ipv4_prefix + '.201' }}" action: member @@ -122,7 +122,7 @@ - name: Host "{{ host1_fqdn }}" member IPv6 address present ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" ip_address: fe80::20c:29ff:fe02:a1b2 action: member @@ -131,7 +131,7 @@ - name: Host "{{ host1_fqdn }}" member IPv6 address present again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" ip_address: fe80::20c:29ff:fe02:a1b2 action: member @@ -140,7 +140,7 @@ - name: Host "{{ host1_fqdn }}" member IPv6 address absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" ip_address: fe80::20c:29ff:fe02:a1b2 action: member @@ -150,7 +150,7 @@ - name: Host "{{ host1_fqdn }}" member IPv6 address absent again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" ip_address: fe80::20c:29ff:fe02:a1b2 action: member @@ -159,7 +159,7 @@ - name: Host "{{ host1_fqdn }}" member all ip-addresses absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" ip_address: - "{{ ipv4_prefix + '.211' }}" @@ -173,7 +173,7 @@ - name: Host "{{ host1_fqdn }}" all member ip-addresses absent again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" ip_address: - "{{ ipv4_prefix + '.211' }}" @@ -187,7 +187,7 @@ - name: Hosts "{{ host1_fqdn }}" and "{{ host2_fqdn }}" present with same IP addresses ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: "{{ host1_fqdn }}" ip_address: @@ -206,7 +206,7 @@ - name: Hosts "{{ host1_fqdn }}" and "{{ host2_fqdn }}" present with same IP addresses again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: "{{ host1_fqdn }}" ip_address: @@ -225,7 +225,7 @@ - name: Hosts "{{ host3_fqdn }}" present with same IP addresses ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: "{{ host3_fqdn }}" ip_address: @@ -238,7 +238,7 @@ - name: Hosts "{{ host3_fqdn }}" present with same IP addresses again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: "{{ host3_fqdn }}" ip_address: @@ -251,7 +251,7 @@ - name: Host "{{ host3_fqdn }}" present with differnt IP addresses ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: "{{ host3_fqdn }}" ip_address: @@ -264,7 +264,7 @@ - name: Host "{{ host3_fqdn }}" present with different IP addresses again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: "{{ host3_fqdn }}" ip_address: @@ -277,7 +277,7 @@ - name: Host "{{ host3_fqdn }}" present with old IP addresses ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: "{{ host3_fqdn }}" ip_address: @@ -290,7 +290,7 @@ - name: Host "{{ host3_fqdn }}" present with old IP addresses again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: "{{ host3_fqdn }}" ip_address: @@ -303,7 +303,7 @@ - name: Absent host01.ihavenodns.info test ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: host01.ihavenodns.info state: absent @@ -312,7 +312,7 @@ - name: Host absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - "{{ host1_fqdn }}" - "{{ host2_fqdn }}" diff --git a/tests/host/test_host_managedby_host.yml b/tests/host/test_host_managedby_host.yml index 78c5a43d..e6fb9dc6 100644 --- a/tests/host/test_host_managedby_host.yml +++ b/tests/host/test_host_managedby_host.yml @@ -16,7 +16,7 @@ - name: Host absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - "{{ host1_fqdn }}" - "{{ host2_fqdn }}" @@ -25,7 +25,7 @@ - name: Host "{{ host1_fqdn }}" present ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" force: yes register: result @@ -33,7 +33,7 @@ - name: Host "{{ host2_fqdn }}" present ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host2_fqdn }}" force: yes register: result @@ -41,7 +41,7 @@ - name: Host "{{ host1_fqdn }}" managed by "{{ 'host2.' + ipaserver_domain }}" ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" managedby_host: "{{ host2_fqdn }}" register: result @@ -49,7 +49,7 @@ - name: Host "{{ host1_fqdn }}" managed by "{{ 'host2.' + ipaserver_domain }}" again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" managedby_host: "{{ host2_fqdn }}" register: result @@ -57,7 +57,7 @@ - name: Host "{{ host1_fqdn }}" managed by "{{ groups.ipaserver[0] }}" ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" managedby_host: "{{ groups.ipaserver[0] }}" action: member @@ -66,7 +66,7 @@ - name: Host "{{ host1_fqdn }}" managed by "{{ groups.ipaserver[0] }}" again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" managedby_host: "{{ groups.ipaserver[0] }}" action: member @@ -75,7 +75,7 @@ - name: Host "{{ host1_fqdn }}" not managed by "{{ groups.ipaserver[0] }}" ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" managedby_host: "{{ groups.ipaserver[0] }}" action: member @@ -85,7 +85,7 @@ - name: Host "{{ host1_fqdn }}" not managed by "{{ groups.ipaserver[0] }}" again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" managedby_host: "{{ groups.ipaserver[0] }}" action: member @@ -95,7 +95,7 @@ - name: Host "{{ host1_fqdn }}" not managed by "{{ 'host2.' + ipaserver_domain }}" ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" managedby_host: "{{ host2_fqdn }}" state: absent @@ -105,7 +105,7 @@ - name: Host "{{ host1_fqdn }}" not managed by "{{ 'host2.' + ipaserver_domain }}" again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" managedby_host: "{{ host2_fqdn }}" action: member @@ -115,7 +115,7 @@ - name: Host absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - "{{ host1_fqdn }}" - "{{ host2_fqdn }}" diff --git a/tests/host/test_host_principal.yml b/tests/host/test_host_principal.yml index 0dce400a..6c7d0dc0 100644 --- a/tests/host/test_host_principal.yml +++ b/tests/host/test_host_principal.yml @@ -20,7 +20,7 @@ - name: Host host1 absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - "{{ host1_fqdn }}" update_dns: yes @@ -28,7 +28,7 @@ - name: Host host1... present with principal host/testhost1... ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" principal: - "{{ 'host/testhost1.' + ipaserver_domain + '@' + ipaserver_realm }}" @@ -38,7 +38,7 @@ - name: Host host1... principal host/host1... present (existing already) ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" principal: - "{{ 'host/host1.' + ipaserver_domain + '@' + ipaserver_realm }}" @@ -48,7 +48,7 @@ - name: Host host1... principal host/testhost1... present again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" principal: "{{ 'host/testhost1.' + ipaserver_domain + '@' + ipaserver_realm }}" action: member @@ -57,7 +57,7 @@ - name: Host host1... principal host/testhost1... absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" principal: "{{ 'host/testhost1.' + ipaserver_domain + '@' + ipaserver_realm }}" action: member @@ -67,7 +67,7 @@ - name: Host host1... principal host/testhost1... absent again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" principal: "{{ 'host/testhost1.' + ipaserver_domain + '@' + ipaserver_realm }}" action: member @@ -77,7 +77,7 @@ - name: Host host1... principal host/testhost1... and host/myhost1... present ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" principal: - "{{ 'host/testhost1.' + ipaserver_domain + '@' + ipaserver_realm }}" @@ -88,7 +88,7 @@ - name: Host host1... principal host/testhost1... and host/myhost1... present again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" principal: - "{{ 'host/testhost1.' + ipaserver_domain + '@' + ipaserver_realm }}" @@ -99,7 +99,7 @@ - name: Host host1... principal host/testhost1... and host/myhost1... absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" principal: - "{{ 'host/testhost1.' + ipaserver_domain + '@' + ipaserver_realm }}" @@ -111,7 +111,7 @@ - name: Host host1... principal host/testhost1... and host/myhost1... absent again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" principal: - "{{ 'host/testhost1.' + ipaserver_domain + '@' + ipaserver_realm }}" @@ -123,7 +123,7 @@ - name: Host host1... absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - "{{ host1_fqdn }}" update_dns: yes diff --git a/tests/host/test_host_random.yml b/tests/host/test_host_random.yml index 84893f90..4d1b2545 100644 --- a/tests/host/test_host_random.yml +++ b/tests/host/test_host_random.yml @@ -16,7 +16,7 @@ - name: Test hosts absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - "{{ host1_fqdn }}" - "{{ host2_fqdn }}" @@ -25,7 +25,7 @@ - name: Host "{{ host1_fqdn }}" present with random password ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host1_fqdn }}" random: yes force: yes @@ -43,14 +43,14 @@ - name: Host "{{ host1_fqdn }}" absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - "{{ host1_fqdn }}" state: absent - name: Hosts "{{ host1_fqdn }}" and "{{ host2_fqdn }}" present with random password ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: "{{ host1_fqdn }}" random: yes @@ -79,7 +79,7 @@ - name: Hosts "{{ host1_fqdn }}" and "{{ host2_fqdn }}" absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - "{{ host1_fqdn }}" - "{{ host2_fqdn }}" diff --git a/tests/host/test_hosts.yml b/tests/host/test_hosts.yml index 8e92bf32..30fd6538 100644 --- a/tests/host/test_hosts.yml +++ b/tests/host/test_hosts.yml @@ -21,7 +21,7 @@ - name: Host host1..host6 absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: "{{ host1_fqdn }}" - name: "{{ host2_fqdn }}" @@ -33,7 +33,7 @@ - name: Hosts host1..host6 present ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: "{{ host1_fqdn }}" force: yes @@ -52,7 +52,7 @@ - name: Hosts host1..host6 present again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: "{{ host1_fqdn }}" force: yes @@ -71,7 +71,7 @@ - name: Hosts host1..host6 absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: "{{ host1_fqdn }}" - name: "{{ host2_fqdn }}" @@ -85,7 +85,7 @@ - name: Hosts host1..host6 absent again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: "{{ host1_fqdn }}" - name: "{{ host2_fqdn }}" diff --git a/tests/host/test_hosts_managedby_host.yml b/tests/host/test_hosts_managedby_host.yml index a692745a..bd6452c4 100644 --- a/tests/host/test_hosts_managedby_host.yml +++ b/tests/host/test_hosts_managedby_host.yml @@ -19,7 +19,7 @@ - name: Host absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - "{{ host1_fqdn }}" - "{{ host2_fqdn }}" @@ -31,7 +31,7 @@ - name: Host "{{ host5_fqdn }}" present ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ host5_fqdn }}" force: yes register: result @@ -39,7 +39,7 @@ - name: Hosts "{{ host1_fqdn }}" .. "{{ 'host5.' + ipaserver_domain }}" present and managed by "{{ 'host5.' + ipaserver_domain }}" ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: "{{ host1_fqdn }}" managedby_host: "{{ host5_fqdn }}" @@ -61,7 +61,7 @@ - name: Hosts "{{ host1_fqdn }}" .. "{{ 'host5.' + ipaserver_domain }}" present and managed by "{{ 'host5.' + ipaserver_domain }}" again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: "{{ host1_fqdn }}" managedby_host: "{{ host5_fqdn }}" @@ -83,7 +83,7 @@ - name: Hosts "{{ host1_fqdn }}" .. "{{ 'host5.' + ipaserver_domain }}" managed by "{{ 'host5.' + ipaserver_domain }}" ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: "{{ host1_fqdn }}" managedby_host: "{{ host5_fqdn }}" @@ -101,7 +101,7 @@ - name: Hosts "{{ host1_fqdn }}" .. "{{ 'host5.' + ipaserver_domain }}" not managed by "{{ 'host5.' + ipaserver_domain }}" ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: "{{ host1_fqdn }}" managedby_host: "{{ host5_fqdn }}" @@ -120,7 +120,7 @@ - name: Hosts "{{ host1_fqdn }}" .. "{{ 'host5.' + ipaserver_domain }}" not managed by "{{ 'host5.' + ipaserver_domain }}" again ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: "{{ host1_fqdn }}" managedby_host: "{{ host5_fqdn }}" @@ -139,7 +139,7 @@ - name: Hosts "{{ host1_fqdn }}" .. "{{ 'host5.' + ipaserver_domain }}" absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: "{{ host1_fqdn }}" - name: "{{ host2_fqdn }}" diff --git a/tests/host/test_hosts_principal.yml b/tests/host/test_hosts_principal.yml index 5918d35d..87e3a853 100644 --- a/tests/host/test_hosts_principal.yml +++ b/tests/host/test_hosts_principal.yml @@ -21,7 +21,7 @@ - name: Host host1... and host2... absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - "{{ host1_fqdn }}" - "{{ host2_fqdn }}" @@ -30,7 +30,7 @@ - name: Host hostX... present with principal host/testhostX... X=[1,2] ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: "{{ host1_fqdn }}" principal: @@ -45,7 +45,7 @@ - name: Host hostX... principal 'host/hostX... present (existing already) X=[1,2] ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: "{{ host1_fqdn }}" principal: @@ -59,7 +59,7 @@ - name: Host hostX... principal host/testhostX... present again X=[1,2] ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: "{{ host1_fqdn }}" principal: @@ -73,7 +73,7 @@ - name: Host hostX.. principal host/testhostX... absent X=[1,2] ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: "{{ host1_fqdn }}" principal: @@ -88,7 +88,7 @@ - name: Host hostX... principal host/testhostX... absent again X=[1,2] ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: "{{ host1_fqdn }}" principal: @@ -103,7 +103,7 @@ - name: Host hostX... principal host/testhostX... and host/myhostX... present X=[1,2] ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: "{{ host1_fqdn }}" principal: @@ -119,7 +119,7 @@ - name: Host hostX... principal host/testhostX... and host/myhostX... present again X=[1,2] ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: "{{ host1_fqdn }}" principal: @@ -135,7 +135,7 @@ - name: Host hostX... principal host/testhostX... and host/myhostX... absent X=[1,2] ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: "{{ host1_fqdn }}" principal: @@ -153,7 +153,7 @@ - name: Host hostX... principal host/testhostX... and host/myhostX... absent again X=[1,2] ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword hosts: - name: "{{ host1_fqdn }}" principal: @@ -171,7 +171,7 @@ - name: Hosts host1... and host2... absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - "{{ host1_fqdn }}" - "{{ host2_fqdn }}" diff --git a/tests/hostgroup/test_hostgroup.yml b/tests/hostgroup/test_hostgroup.yml index 29935130..ba449a06 100644 --- a/tests/hostgroup/test_hostgroup.yml +++ b/tests/hostgroup/test_hostgroup.yml @@ -12,7 +12,7 @@ - name: Ensure host-group databases, mysql-server and oracle-server are absent ipahostgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - databases - mysql-server @@ -21,7 +21,7 @@ - name: Test hosts db1 and db2 absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - "{{ 'db1.' + ipaserver_domain }}" - "{{ 'db2.' + ipaserver_domain }}" @@ -29,7 +29,7 @@ - name: Host "{{ 'db1.' + ipaserver_domain }}" present ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ 'db1.' + ipaserver_domain }}" force: yes register: result @@ -37,7 +37,7 @@ - name: Host "{{ 'db2.' + ipaserver_domain }}" present ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: "{{ 'db2.' + ipaserver_domain }}" force: yes register: result @@ -45,7 +45,7 @@ - name: Ensure host-group mysql-server is present ipahostgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: mysql-server state: present register: result @@ -53,7 +53,7 @@ - name: Ensure host-group mysql-server is present again ipahostgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: mysql-server state: present register: result @@ -61,7 +61,7 @@ - name: Ensure host-group oracle-server is present ipahostgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: oracle-server state: present register: result @@ -69,7 +69,7 @@ - name: Ensure host-group oracle-server is present again ipahostgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: oracle-server state: present register: result @@ -77,7 +77,7 @@ - name: Ensure host-group databases is present ipahostgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: databases state: present host: @@ -89,7 +89,7 @@ - name: Ensure host-group databases is present again ipahostgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: databases state: present host: @@ -101,7 +101,7 @@ - name: Ensure host db2 is member of host-group databases ipahostgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: databases state: present host: @@ -112,7 +112,7 @@ - name: Ensure host db2 is member of host-group databases again ipahostgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: databases state: present host: @@ -123,7 +123,7 @@ - name: Ensure host-group mysql-server is member of host-group databases ipahostgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: databases state: present hostgroup: @@ -134,7 +134,7 @@ - name: Ensure host-group mysql-server is member of host-group databases again ipahostgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: databases state: present hostgroup: @@ -145,7 +145,7 @@ - name: Ensure host-group oracle-server is member of host-group databases (again) ipahostgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: databases state: present hostgroup: @@ -156,7 +156,7 @@ - name: Ensure host-group databases, mysql-server and oracle-server are absent ipahostgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - databases - mysql-server @@ -167,7 +167,7 @@ - name: Ensure host-group databases, mysql-server and oracle-server are absent again ipahostgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - databases - mysql-server @@ -178,7 +178,7 @@ - name: Test hosts db1 and db2 absent ipahost: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - "{{ 'db1.' + ipaserver_domain }}" - "{{ 'db2.' + ipaserver_domain }}" diff --git a/tests/pwpolicy/test_pwpolicy.yml b/tests/pwpolicy/test_pwpolicy.yml index 1a01fca6..d5a254e4 100644 --- a/tests/pwpolicy/test_pwpolicy.yml +++ b/tests/pwpolicy/test_pwpolicy.yml @@ -94,7 +94,7 @@ - name: Ensure maxlife of 90 for global_policy ipapwpolicy: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword maxlife: 90 register: result failed_when: not result.changed diff --git a/tests/sudocmd/test_sudocmd.yml b/tests/sudocmd/test_sudocmd.yml index 523a6f74..c66e8108 100644 --- a/tests/sudocmd/test_sudocmd.yml +++ b/tests/sudocmd/test_sudocmd.yml @@ -8,7 +8,7 @@ tasks: - name: Ensure sudocmds are absent ipasudocmd: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - /usr/bin/su - /usr/sbin/ifconfig @@ -17,7 +17,7 @@ - name: Ensure sudocmd is present ipasudocmd: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: /usr/bin/su state: present register: result @@ -25,7 +25,7 @@ - name: Ensure sudocmd is present again ipasudocmd: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: /usr/bin/su state: present register: result @@ -33,7 +33,7 @@ - name: Ensure sudocmd is absent ipasudocmd: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: /usr/bin/su state: absent register: result @@ -41,7 +41,7 @@ - name: Ensure sudocmd is absent again ipasudocmd: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: /usr/bin/su state: absent register: result @@ -49,7 +49,7 @@ - name: Ensure multiple sudocmd are present ipasudocmd: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - /usr/sbin/ifconfig - /usr/sbin/iwlist @@ -59,7 +59,7 @@ - name: Ensure multiple sudocmd are present again ipasudocmd: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - /usr/sbin/ifconfig - /usr/sbin/iwlist @@ -69,7 +69,7 @@ - name: Ensure multiple sudocmd are absent ipasudocmd: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - /usr/sbin/ifconfig - /usr/sbin/iwlist @@ -79,7 +79,7 @@ - name: Ensure multiple sudocmd are absent again ipasudocmd: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - /usr/sbin/ifconfig - /usr/sbin/iwlist @@ -88,7 +88,7 @@ failed_when: result.changed - name: Ensure sudocmds are absent ipasudocmd: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - /usr/bin/su - /usr/sbin/ifconfig @@ -97,21 +97,21 @@ - name: Ensure sudocmds are absent ipasudocmd: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - /usr/sbin/ifconfig state: absent - name: Ensure sudocmds are present ipasudocmd: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - /usr/sbin/iwlist state: present - name: Ensure multiple sudocmd are absent when only one was present ipasudocmd: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - /usr/sbin/ifconfig - /usr/sbin/iwlist diff --git a/tests/sudocmdgroup/test_sudocmdgroup.yml b/tests/sudocmdgroup/test_sudocmdgroup.yml index 688c0844..ce149de6 100644 --- a/tests/sudocmdgroup/test_sudocmdgroup.yml +++ b/tests/sudocmdgroup/test_sudocmdgroup.yml @@ -8,7 +8,7 @@ tasks: - name: Ensure sudocmds are present ipasudocmd: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - /usr/bin/su - /usr/sbin/ifconfig @@ -17,13 +17,13 @@ - name: Ensure sudocmdgroup is absent ipasudocmdgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: network state: absent - name: Ensure sudocmdgroup is present ipasudocmdgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: network state: present register: result @@ -31,7 +31,7 @@ - name: Ensure sudocmdgroup is present again ipasudocmdgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: network state: present register: result @@ -39,7 +39,7 @@ - name: Ensure sudocmdgroup is absent ipasudocmdgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: network state: absent register: result @@ -47,7 +47,7 @@ - name: Ensure sudocmdgroup is absent again ipasudocmdgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: network state: absent register: result @@ -55,7 +55,7 @@ - name: Ensure testing sudocmdgroup is present ipasudocmdgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: network state: present register: result @@ -63,7 +63,7 @@ - name: Ensure sudo commands are present in existing sudocmdgroup ipasudocmdgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: network sudocmd: - /usr/sbin/ifconfig @@ -74,7 +74,7 @@ - name: Ensure sudo commands are present in existing sudocmdgroup, again ipasudocmdgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: network sudocmd: - /usr/sbin/ifconfig @@ -85,7 +85,7 @@ - name: Ensure sudo commands are absent in existing sudocmdgroup ipasudocmdgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: network sudocmd: - /usr/sbin/ifconfig @@ -97,7 +97,7 @@ - name: Ensure sudo commands are absent in existing sudocmdgroup, again ipasudocmdgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: network sudocmd: - /usr/sbin/ifconfig @@ -109,7 +109,7 @@ - name: Ensure sudo commands are present in sudocmdgroup ipasudocmdgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: network sudocmd: - /usr/sbin/ifconfig @@ -121,7 +121,7 @@ - name: Ensure one sudo command is not present in sudocmdgroup ipasudocmdgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: network sudocmd: - /usr/sbin/ifconfig @@ -132,7 +132,7 @@ - name: Ensure one sudo command is present in sudocmdgroup ipasudocmdgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: network sudocmd: - /usr/sbin/ifconfig @@ -143,7 +143,7 @@ - name: Ensure the other sudo command is not present in sudocmdgroup ipasudocmdgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: network sudocmd: - /usr/sbin/iwlist @@ -154,7 +154,7 @@ - name: Ensure the other sudo commandsis not present in sudocmdgroup, again ipasudocmdgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: network sudocmd: - /usr/sbin/iwlist diff --git a/tests/sudorule/test_sudorule.yml b/tests/sudorule/test_sudorule.yml index 4b4b6966..0c4aef7f 100644 --- a/tests/sudorule/test_sudorule.yml +++ b/tests/sudorule/test_sudorule.yml @@ -9,14 +9,14 @@ - name: Ensure hostgroup is present, with a host. ipahostgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: cluster host: - "{{ groups.ipaserver[0] }}" - name: Ensure some sudocmds are available ipasudocmd: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - /sbin/ifconfig - /usr/bin/vim @@ -24,14 +24,14 @@ - name: Ensure sudocmdgroup is available ipasudocmdgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: test_sudorule sudocmd: /usr/bin/vim state: present - name: Ensure sudorules are absent ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - testrule1 - allusers @@ -41,21 +41,21 @@ - name: Ensure sudorule is present ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testrule1 register: result failed_when: not result.changed - name: Ensure sudorule is present again ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testrule1 register: result failed_when: result.changed - name: Ensure sudorule is present, runAsUserCategory. ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testrule1 runAsUserCategory: all register: result @@ -63,7 +63,7 @@ - name: Ensure sudorule is present, with usercategory 'all' ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: allusers usercategory: all register: result @@ -71,7 +71,7 @@ - name: Ensure sudorule is present, with usercategory 'all', again ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: allusers usercategory: all register: result @@ -79,7 +79,7 @@ - name: Ensure sudorule is present, with hostategory 'all' ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: allhosts hostcategory: all register: result @@ -87,7 +87,7 @@ - name: Ensure sudorule is present, with hostategory 'all', again ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: allhosts hostcategory: all register: result @@ -95,13 +95,13 @@ - name: Ensure sudorule is disabled ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testrule1 state: disabled - name: Ensure sudorule is disabled, again ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testrule1 state: disabled register: result @@ -109,7 +109,7 @@ - name: Ensure sudorule is enabled ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testrule1 state: enabled register: result @@ -117,7 +117,7 @@ - name: Ensure sudorule is enabled, again ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testrule1 state: enabled register: result @@ -125,7 +125,7 @@ - name: Ensure sudorule is present and some sudocmd are allowed. ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testrule1 allow_sudocmd: - /sbin/ifconfig @@ -135,7 +135,7 @@ - name: Ensure sudorule is present and some sudocmd are allowed, again. ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testrule1 allow_sudocmd: - /sbin/ifconfig @@ -145,7 +145,7 @@ - name: Ensure sudorule is present and some sudocmd are denyed. ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testrule1 deny_sudocmd: - /usr/bin/vim @@ -155,7 +155,7 @@ - name: Ensure sudorule is present and some sudocmd are denyed, again. ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testrule1 deny_sudocmd: - /usr/bin/vim @@ -165,7 +165,7 @@ - name: Ensure sudorule is present and, sudocmds are absent. ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testrule1 allow_sudocmd: /sbin/ifconfig deny_sudocmd: /usr/bin/vim @@ -176,7 +176,7 @@ - name: Ensure sudorule is present and, sudocmds are absent, again. ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testrule1 allow_sudocmd: /sbin/ifconfig deny_sudocmd: /usr/bin/vim @@ -187,7 +187,7 @@ - name: Ensure sudorule is present with cmdcategory 'all'. ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: allcommands cmdcategory: all register: result @@ -195,7 +195,7 @@ - name: Ensure sudorule is present with cmdcategory 'all', again. ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: allcommands cmdcategory: all register: result @@ -203,7 +203,7 @@ - name: Ensure host "{{ groups.ipaserver[0] }}" is present in sudorule. ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testrule1 host: "{{ groups.ipaserver[0] }}" action: member @@ -212,7 +212,7 @@ - name: Ensure host "{{ groups.ipaserver[0] }}" is present in sudorule, again. ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testrule1 host: "{{ groups.ipaserver[0] }}" action: member @@ -221,7 +221,7 @@ - name: Ensure hostgroup is present in sudorule. ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testrule1 hostgroup: cluster action: member @@ -230,7 +230,7 @@ - name: Ensure hostgroup is present in sudorule, again. ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testrule1 hostgroup: cluster action: member @@ -239,7 +239,7 @@ - name: Ensure sudorule is present, with an allow_sudocmdgroup. ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testrule1 allow_sudocmdgroup: test_sudorule state: present @@ -248,7 +248,7 @@ - name: Ensure sudorule is present, with an allow_sudocmdgroup, again. ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testrule1 allow_sudocmdgroup: test_sudorule state: present @@ -257,7 +257,7 @@ - name: Ensure sudorule is present, but allow_sudocmdgroup is absent. ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testrule1 allow_sudocmdgroup: test_sudorule action: member @@ -267,7 +267,7 @@ - name: Ensure sudorule is present, but allow_sudocmdgroup is absent. ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testrule1 allow_sudocmdgroup: test_sudorule action: member @@ -277,7 +277,7 @@ - name: Ensure sudorule is present, with an deny_sudocmdgroup. ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testrule1 deny_sudocmdgroup: test_sudorule state: present @@ -286,7 +286,7 @@ - name: Ensure sudorule is present, with an deny_sudocmdgroup, again. ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testrule1 deny_sudocmdgroup: test_sudorule state: present @@ -295,7 +295,7 @@ - name: Ensure sudorule is present, but deny_sudocmdgroup is absent. ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testrule1 deny_sudocmdgroup: test_sudorule action: member @@ -305,7 +305,7 @@ - name: Ensure sudorule is present, but deny_sudocmdgroup is absent, again. ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testrule1 deny_sudocmdgroup: test_sudorule action: member @@ -315,7 +315,7 @@ - name: Ensure sudorule is absent ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testrule1 state: absent register: result @@ -323,7 +323,7 @@ - name: Ensure sudorule is absent, again. ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: testrule1 state: absent register: result @@ -331,7 +331,7 @@ - name: Ensure sudorule allhosts is absent ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: allhosts state: absent register: result @@ -339,7 +339,7 @@ - name: Ensure sudorule allhosts is absent, again ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: allhosts state: absent register: result @@ -347,7 +347,7 @@ - name: Ensure sudorule allusers is absent ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: allusers state: absent register: result @@ -355,7 +355,7 @@ - name: Ensure sudorule allusers is absent, again ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: allusers state: absent register: result @@ -363,7 +363,7 @@ - name: Ensure sudorule allcommands is absent ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: allcommands state: absent register: result @@ -371,7 +371,7 @@ - name: Ensure sudorule allcommands is absent, again ipasudorule: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: allcommands state: absent register: result @@ -380,19 +380,19 @@ # cleanup - name : Ensure sudocmdgroup is absent ipasudocmdgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: test_sudorule state: absent - name: Ensure hostgroup is absent. ipahostgroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: cluster state: absent - name: Ensure sudocmds are absent ipasudocmd: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - /sbin/ifconfig - /usr/bin/vim diff --git a/tests/user/test_user_random.yml b/tests/user/test_user_random.yml index 47e4a350..44b9373a 100644 --- a/tests/user/test_user_random.yml +++ b/tests/user/test_user_random.yml @@ -6,7 +6,7 @@ tasks: - name: Users user1 and user2 absent ipauser: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - user1 - user2 @@ -14,7 +14,7 @@ - name: User user1 present with random password ipauser: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: user1 first: first1 last: last1 @@ -30,14 +30,14 @@ - name: User user1 absent ipauser: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - user1 state: absent - name: Users user1 and user1 present with random password ipauser: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword users: - name: user1 first: first1 @@ -63,7 +63,7 @@ - name: Users user1 and user2 absent ipauser: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - user1 - user2 diff --git a/tests/vault/test_vault.yml b/tests/vault/test_vault.yml index de5a2635..5b467f61 100644 --- a/tests/vault/test_vault.yml +++ b/tests/vault/test_vault.yml @@ -9,7 +9,7 @@ - name: Ensure user vaults are absent ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - stdvault - symvault @@ -19,7 +19,7 @@ - name: Ensure test users do not exist. ipauser: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - user01 - user02 @@ -28,53 +28,53 @@ - name: Ensure test groups do not exist. ipagroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: vaultgroup state: absent - name: Ensure vaultgroup exists. ipagroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: vaultgroup - name: Ensure user01 exists. ipauser: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: user01 first: First last: Start - name: Ensure user02 exists. ipauser: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: user02 first: Second last: Middle - name: Ensure user03 exists. ipauser: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: user03 first: Third last: Last - name: Ensure shared vaults are absent ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: sharedvault shared: True state: absent - name: Ensure service vaults are absent ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: svcvault service: "HTTP/{{ groups.ipaserver[0] }}" state: absent - name: Ensure symmetric vault is present ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: symvault username: user01 vault_password: MyVaultPassword123 @@ -84,7 +84,7 @@ - name: Ensure symmetric vault is present, again ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: symvault username: user01 vault_password: MyVaultPassword123 @@ -94,7 +94,7 @@ - name: Archive data to symmetric vault ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: symvault username: user01 vault_password: MyVaultPassword123 @@ -105,7 +105,7 @@ - name: Archive data with non-ASCII characters to symmetric vault ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: symvault username: user01 vault_password: MyVaultPassword123 @@ -116,7 +116,7 @@ - name: Ensure symmetric vault is absent ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: symvault username: user01 state: absent @@ -125,7 +125,7 @@ - name: Ensure symmetric vault is absent, again ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: symvault username: user01 state: absent @@ -134,7 +134,7 @@ - name: Ensure asymmetric vault is present. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: asymvault username: user01 description: A symmetric private vault. @@ -151,7 +151,7 @@ - name: Ensure asymmetric vault is present, again. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: asymvault username: user01 vault_public_key: @@ -167,7 +167,7 @@ - name: Archive data in asymmetric vault. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: asymvault username: user01 vault_data: Hello World. @@ -177,7 +177,7 @@ - name: Ensure asymmetric vault is absent. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: asymvault username: user01 state: absent @@ -186,7 +186,7 @@ - name: Ensure asymmetric vault is absent, again. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: asymvault username: user01 state: absent @@ -195,7 +195,7 @@ - name: Ensure standard vault is present. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: stdvault vault_type: standard username: user01 @@ -205,7 +205,7 @@ - name: Ensure standard vault is present, again. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: stdvault username: user01 vault_type: standard @@ -215,7 +215,7 @@ - name: Archive data in standard vault. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: stdvault username: user01 vault_data: Hello World. @@ -225,7 +225,7 @@ - name: Ensure standard vault member user is present. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: stdvault username: user01 action: member @@ -236,7 +236,7 @@ - name: Ensure standard vault member user is present, again. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: stdvault username: user01 action: member @@ -247,7 +247,7 @@ - name: Ensure more vault member users are present. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: stdvault username: user01 action: member @@ -259,7 +259,7 @@ - name: Ensure vault member user is still present. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: stdvault username: user01 action: member @@ -270,7 +270,7 @@ - name: Ensure vault users are absent. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: stdvault username: user01 action: member @@ -283,7 +283,7 @@ - name: Ensure vault users are absent, again. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: stdvault username: user01 action: member @@ -296,7 +296,7 @@ - name: Ensure vault user is absent, once more. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: stdvault username: user01 action: member @@ -308,7 +308,7 @@ - name: Ensure vault member group is present. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: stdvault username: user01 action: member @@ -318,7 +318,7 @@ - name: Ensure vault member group is present, again. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: stdvault username: user01 action: member @@ -328,7 +328,7 @@ - name: Ensure vault member group is absent. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: stdvault username: user01 action: member @@ -339,7 +339,7 @@ - name: Ensure vault member group is absent, again. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: stdvault username: user01 action: member @@ -350,7 +350,7 @@ - name: Ensure vault is absent. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: stdvault username: user01 state: absent @@ -359,7 +359,7 @@ - name: Ensure vault is absent, again. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: stdvault username: user01 state: absent @@ -368,7 +368,7 @@ - name: Ensure shared vault is present. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: sharedvault shared: True ipavaultpassword: MyVaultPassword123 @@ -377,7 +377,7 @@ - name: Ensure shared vault is absent. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: sharedvault shared: True state: absent @@ -386,7 +386,7 @@ - name: Ensure service vault is present. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: svcvault ipavaultpassword: MyVaultPassword123 service: "HTTP/{{ groups.ipaserver[0] }}" @@ -395,7 +395,7 @@ - name: Ensure service vault is absent. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: svcvault service: "HTTP/{{ groups.ipaserver[0] }}" state: absent @@ -404,7 +404,7 @@ - name: Ensure vault is present, with members. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: stdvault username: user01 vault_type: standard @@ -418,7 +418,7 @@ - name: Ensure vault is present, with members, again. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: stdvault username: user01 vault_type: standard @@ -432,7 +432,7 @@ - name: Ensure user02 is not a member of vault stdvault. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: stdvault username: user01 users: user02 @@ -443,7 +443,7 @@ - name: Ensure user02 is not a member of vault stdvault, again. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: stdvault username: user01 users: user02 @@ -454,7 +454,7 @@ - name: Ensure user02 is a member of vault stdvault. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: stdvault username: user01 users: user02 @@ -464,7 +464,7 @@ - name: Ensure user02 is a member of vault stdvault, again. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: stdvault username: user01 users: user03 @@ -474,7 +474,7 @@ - name: Ensure user03 owns vault stdvault. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: stdvault username: user01 owners: user03 @@ -484,7 +484,7 @@ - name: Ensure user03 owns vault stdvault, again. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: stdvault username: user01 owners: user03 @@ -494,7 +494,7 @@ - name: Ensure user03 is not owner of stdvault. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: stdvault username: user01 owners: user03 @@ -505,7 +505,7 @@ - name: Ensure user03 is not owner of stdvault, again. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: stdvault username: user01 owners: user03 @@ -516,7 +516,7 @@ - name: Ensure vault is absent. ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: stdvault username: user01 state: absent @@ -524,7 +524,7 @@ # cleaup - name: Ensure test vaults are absent ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - stdvault - symvault @@ -534,21 +534,21 @@ - name: Ensure shared vaults are absent ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: sharedvault shared: True state: absent - name: Ensure service vaults are absent ipavault: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: svcvault service: "HTTP/{{ groups.ipaserver[0] }}" state: absent - name: Ensure test users do not exist. ipauser: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: - user01 - user02 @@ -557,6 +557,6 @@ - name: Ensure test groups do not exist. ipagroup: - ipaadmin_password: MyPassword123 + ipaadmin_password: SomeADMINpassword name: vaultgroup state: absent -- GitLab