You've already forked cron-apt
Added pipeline
This commit is contained in:
@@ -5,11 +5,11 @@ dependency:
|
||||
driver:
|
||||
name: docker
|
||||
platforms:
|
||||
- name: instance
|
||||
image: docker.io/guisea/docker-ubuntu22.04-ansible
|
||||
command: /usr/bin/systemctl
|
||||
- name: ${MOLECULE_DISTRO:-ubuntu2204}
|
||||
image: docker.io/guisea/docker-${MOLECULE_DISTRO:-ubuntu2204}-ansible
|
||||
command: ${MOLECULE_DOCKER_COMMAND:-""}
|
||||
pre_build_image: true
|
||||
provisioner:
|
||||
name: ansible
|
||||
verifier:
|
||||
name: ansible
|
||||
playbooks:
|
||||
converge: ${MOLECULE_PLAYBOOK:-converge.yml}
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
---
|
||||
# This is an example playbook to execute Ansible tests.
|
||||
|
||||
- name: Verify
|
||||
hosts: all
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: fetch /etc/apt/sources.list
|
||||
command: cat /etc/apt/sources.list
|
||||
register: sources
|
||||
|
||||
- name: Output info
|
||||
debug:
|
||||
var: sources
|
||||
|
||||
- name: Example assertion
|
||||
ansible.builtin.assert:
|
||||
that: true
|
||||
Reference in New Issue
Block a user