Update roles
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
---
|
||||
# yamllint disable rule:line-length
|
||||
|
||||
# I run this file with following line to test against my Vagrant Fedora:
|
||||
# ansible-playbook --vault-password-file .vault-password -b -i \
|
||||
# ~/vagrant/fedora/.vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory \
|
||||
# -e ansible_python_interpreter=/usr/bin/python3 \
|
||||
# -e container_state=running test-podman.yml
|
||||
|
||||
# yamllint enable rule:line-length
|
||||
|
||||
- name: create lighttpd pod
|
||||
hosts: all
|
||||
# connection: local
|
||||
@@ -25,12 +29,14 @@
|
||||
- name: tests container
|
||||
vars:
|
||||
container_state: running
|
||||
#container_state: absent
|
||||
container_image: sebp/lighttpd:latest
|
||||
# container_state: absent
|
||||
container_image_list:
|
||||
- sebp/lighttpd:latest
|
||||
container_name: lighttpd
|
||||
container_run_args: >-
|
||||
--rm
|
||||
-v /tmp/podman-container-systemd:/var/www/localhost/htdocs:Z
|
||||
-t
|
||||
-p 8080:80/tcp
|
||||
container_firewall_ports:
|
||||
- 8080/tcp
|
||||
|
||||
Reference in New Issue
Block a user