Move requirements file

This commit is contained in:
Sonny Bakker 2021-01-30 10:29:49 +01:00
parent a7ec74c8fc
commit 996d22ac69
5 changed files with 4 additions and 8 deletions

2
.gitignore vendored
View file

@ -12,3 +12,5 @@ node_modules/
.vaults/
vault
vaults/
roles/

View file

@ -21,6 +21,6 @@ syntax-test:
image: python:3.7
before_script:
- pip install ansible --quiet
- ansible-galaxy install -r roles/requirements.yml
- ansible-galaxy install -r requirements.yml
script:
- ansible-playbook playbook.yml --syntax-check

View file

@ -1,5 +1,5 @@
- hosts: newsreader
become: yes
become: true
become_method: sudo
tasks:
- import_tasks: 'tasks/main.yml'

6
roles/.gitignore vendored
View file

@ -1,6 +0,0 @@
# ignore all external roles and files in the roles dir
/*
!.gitignore
!requirements.yml
!newsreader*/