Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion private-cloud/base/aws-iaas/ansible-navigator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ ansible-navigator:
ANSIBLE_DEPRECATION_WARNINGS: False
ANSIBLE_HOST_KEY_CHECKING: False
ANSIBLE_SSH_RETRIES: 10
image: ghcr.io/cloudera-labs/cldr-runner:aws-latest
image: ghcr.io/cloudera-labs/cldr-runner-aws:latest
pull:
arguments:
- "--tls-verify=false"
Expand Down
6 changes: 6 additions & 0 deletions private-cloud/base/aws-iaas/pre_setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,12 @@
ipaadmin_principal: "{{ freeipa.ipaadmin_user | default(lookup('ansible.builtin.env', 'IPA_USER', default=omit)) }}"
enable_dns: yes

- name: Update SSSD to enable Kerberos file ticket caching
ansible.builtin.import_role:
name: krb_file_ticket_cache
vars:
sssd_domain: "{{ domain }}"

- name: Establish supporting services resources
hosts: deployment
gather_facts: no
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
# sssd_domain:
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
- name: restart sssd
ansible.builtin.service:
name: sssd
state: restarted
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
- name: Update the SSSD for caching of Kerberos ticket as files
community.general.ini_file:
path: /etc/sssd/sssd.conf
section: "domain/{{ sssd_domain }}"
option: "{{ sssd.key }}"
value: "{{ sssd.value | string }}"
loop: "{{ entries | dict2items }}"
loop_control:
loop_var: sssd
label: "{{ sssd.key }}"
vars:
entries:
krb5_ccname_template: 'FILE:/tmp/krb5cc_%U_XXXXXX'
notify: restart sssd

- name: Comment default_ccache_name in krb5.conf.d
ansible.builtin.replace:
dest: /etc/krb5.conf.d/kcm_default_ccache
regexp: '({{ krb_item }})'
replace: '# \1'
loop_control:
loop_var: krb_item
loop:
- '^\[libdefaults\]'
- '^\s+default_ccache_name = KCM'
notify: restart sssd
2 changes: 1 addition & 1 deletion private-cloud/base/aws-iaas/tf_hosts/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ resource "aws_instance" "pvc_base" {
subnet_id = var.subnet_ids[count.index % length(var.subnet_ids)]
associate_public_ip_address = var.public_ip

security_groups = var.security_groups
vpc_security_group_ids = var.security_groups

root_block_device {
delete_on_termination = var.root_volume.delete_on_termination
Expand Down