Skip to content

Commit

Permalink
fixing CI permissions issue
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMegaNova committed Aug 1, 2023
1 parent a24ba5a commit d3ed99d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
run: pip3 install ansible molecule molecule-plugins[docker] docker

- name: Run Molecule tests.
run: molecule test
run: molecule -v test
env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
Expand Down
3 changes: 3 additions & 0 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ platforms:
pre_build_image: true
provisioner:
name: ansible
config_options:
defaults:
remote_tmp: /tmp/.ansible-${USER}/tmp/
playbooks:
prepare: ${MOLECULE_PLAYBOOK:-../../tests/prepare.yml}
converge: ${MOLECULE_PLAYBOOK:-../../tests/playbook.yml}
Expand Down
2 changes: 1 addition & 1 deletion tests/playbook.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
- hosts: all
remote_user: root
#remote_user: root
become: yes
vars_files:
- ./vars.yml
Expand Down
2 changes: 1 addition & 1 deletion tests/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#========================================================

- hosts: all
remote_user: root
#remote_user: root
become: yes
vars_files:
- ./vars.yml
Expand Down

0 comments on commit d3ed99d

Please sign in to comment.