Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace pre-tasks by prepare to install gpg #10

Merged
merged 1 commit into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,5 @@
hosts: all
vars:
lemonldap_domain: example.ci
pre_tasks:
- name: Update apt cache.
apt: update_cache=yes cache_valid_time=600
when: ansible_os_family == 'Debian'
changed_when: false
- name: Install GPG
apt:
name: gpg
state: present
when: ansible_os_family == 'Debian'
changed_when: false
roles:
- worteks.lemonldap.install
11 changes: 11 additions & 0 deletions molecule/default/prepare.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
- name: Prepare
hosts: all
gather_facts: true
tasks:
- name: Update apt cache and install gpg
apt:
name: gpg
state: present
update_cache: true
when: ansible_os_family == 'Debian'
Loading