Merge pull request #118 from gionn/fixup-molecule-hera

Do not require hosts edit for running quarkus molecule suite locally
This commit is contained in:
Guido Grazioli 2023-10-16 16:41:07 +02:00 committed by GitHub
commit c67b301f97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 15 deletions

View file

@ -16,17 +16,6 @@
delegate_to: localhost
changed_when: False
- name: Set /etc/hosts
ansible.builtin.lineinfile:
dest: /etc/hosts
line: "127.0.0.1 instance"
state: present
delegate_to: localhost
become: yes
when:
- hera_home is defined
- hera_home | length == 0
- name: Create conf directory # risky-file-permissions in test user account does not exist yet
ansible.builtin.file:
state: directory