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
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