geekoops-pureftpd/molecule/default/converge.yml
Felix Niederwanger 88b1306386
Revive the role
Update the role to Leap 15.3 and 15.4 and switch the molecule test from
using foreign images to building the test images using custom
Dockerfiles.
2022-06-27 15:30:31 +02:00

31 lines
728 B
YAML

---
- name: Converge
hosts: all
tasks:
- name: "Include geekoops-pureftpd"
include_role:
name: "geekoops-pureftpd"
## Setup test enviroment
- name: Enable firewall
systemd:
name: firewalld
state: started
enabled: true
# Test file 1 is accessible (0754), test file 2 not (0750)
- name: Deploy test file
copy:
content: |
Happy test file
dest: "{{ftp_dir}}/testfile.txt"
group: "root"
owner: "root"
mode: 0754
- name: Deploy secrets test file
copy:
content: |
Password: 12345
dest: "{{ftp_dir}}/secrets.txt"
group: "root"
owner: "root"
mode: 0750