Updated freeipa commands
This commit is contained in:
parent
9745d287b0
commit
2bbea92d82
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ set_salt_ipa_password:
|
||||||
|
|
||||||
create_host:
|
create_host:
|
||||||
cmd.run:
|
cmd.run:
|
||||||
- name: 'sshpass -p $SALT_PASSWORD ssh salt@ipa.actcur.com -oStrictHostKeyChecking=no "rm {{hostname}}.keytab;echo $SALT_PASSWORD | kinit salt;ipa host-add --force --ip-address={{ip}} {{hostname}}.actcur.com; ipa host-allow-create-keytab {{hostname}}.actcur.com --groups enroller;/usr/sbin/ipa-getkeytab -s ipa.actcur.com -p host/{{hostname}}.actcur.com -k ./{{hostname}}.keytab"'
|
- name: 'sshpass -p $SALT_PASSWORD ssh salt@ipa.actcur.com -oStrictHostKeyChecking=no "rm {{hostname}}.keytab;echo $SALT_PASSWORD | kinit salt;ipa host-add --force --ip-address={{ip}} {{hostname}}.actcur.com --class=server; ipa host-allow-create-keytab {{hostname}}.actcur.com --groups server_enroller;/usr/sbin/ipa-getkeytab -s ipa.actcur.com -p host/{{hostname}}.actcur.com -k ./{{hostname}}.keytab"'
|
||||||
|
|
||||||
grab_keytab:
|
grab_keytab:
|
||||||
cmd.run:
|
cmd.run:
|
||||||
|
|
Loading…
Add table
Reference in a new issue