Skip to content

Commit

Permalink
make role run
Browse files Browse the repository at this point in the history
  • Loading branch information
abhi8080 committed Jul 8, 2024
1 parent f9073cb commit 7a9e55d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
7 changes: 3 additions & 4 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ lint: |
ansible-lint -c molecule/default/ansible-lint.yml .
flake8
platforms:
- name: "${MOLECULE_INSTANCE_NAME:-systemd-ubuntu-18.04}"
image: "${MOLECULE_DISTRO:-jrei/systemd-ubuntu:18.04}"
- name: "${MOLECULE_INSTANCE_NAME:-systemd-ubuntu-20.04}"
image: "${MOLECULE_DISTRO:-jrei/systemd-ubuntu:20.04}"
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
published_ports:
Expand All @@ -27,5 +27,4 @@ provisioner:
scenario:
name: default
verifier:
name: testinfra
enabled: false
name: ansible
10 changes: 9 additions & 1 deletion molecule/default/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

easyrsa_download: []
easyrsa_download_pki: true
easyrsa_download_dir: '~/'
easyrsa_download_dir: '~'
pre_tasks:
- name: Install packages required by ansible modules
package:
Expand All @@ -49,3 +49,11 @@
packages:
- gnupg
- software-properties-common

- name: Install sudo
raw: apt install -y sudo

- name: Ensure /etc/easyrsa/pki directory exists
file:
path: /etc/easyrsa/pki
state: directory

0 comments on commit 7a9e55d

Please sign in to comment.