Skip to content

Commit

Permalink
PMM-7 Fix user for OL9 AMI (#2319)
Browse files Browse the repository at this point in the history
  • Loading branch information
BupycHuk authored Jun 27, 2023
1 parent f22c922 commit c6a33db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/ansible/roles/cloud-node/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
- name: change cloud user EL9 | Change cloud user
when: create_admin == "true" and (ansible_distribution == 'OracleLinux' or ansible_distribution == 'AlmaLinux') and ansible_distribution_major_version == '9'
replace:
dest: /etc/cloud/cloud.cfg
dest: /etc/cloud/cloud.cfg.d/00_ol-default-user.cfg
regexp: "name: ec2-user"
replace: "name: admin"

Expand Down

0 comments on commit c6a33db

Please sign in to comment.