From b75b0104a7ee2606c6496e9708ebf586b2dc5b15 Mon Sep 17 00:00:00 2001 From: matt urbanski Date: Tue, 1 Mar 2016 23:10:34 -0800 Subject: [PATCH] Ansible 2.0.0.2 broke compatibility with os-hardening On a fresh pull and dependencies fetch (including ansible itself) the hardening role was causing ansible to fail to converge due to a [resolved issue](https://github.com/hardening-io/ansible-os-hardening/issues/64) The requirements file format for ansible-galaxy has been changed to yaml as well to remove a deprecation warning in ansible 2. --- README.md | 2 +- requirements.txt | 5 ----- requirements.yml | 13 +++++++++++++ 3 files changed, 14 insertions(+), 6 deletions(-) delete mode 100644 requirements.txt create mode 100644 requirements.yml diff --git a/README.md b/README.md index d2c2839..500686d 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ See [test.yml](test.yml) You can see `test.yml` in action with Vagrant: -* `ansible-galaxy install -r requirements.txt` +* `ansible-galaxy install -r requirements.yml` * `./test/gen-duplicity-keys.sh` * `./test/gen-test-cert.sh` * Add `test/rootCA.pem` to your browsers trusted authorities list (**note!** diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index a42a4a7..0000000 --- a/requirements.txt +++ /dev/null @@ -1,5 +0,0 @@ -jnv.unattended-upgrades,v1.1.1 -geerlingguy.firewall,1.0.6 -hardening.os-hardening,2.0.0 -debops.cryptsetup,v0.2.1 -jacksingleton.ramfs diff --git a/requirements.yml b/requirements.yml new file mode 100644 index 0000000..72d800f --- /dev/null +++ b/requirements.yml @@ -0,0 +1,13 @@ +- src: jnv.unattended-upgrades + version: v1.1.1 + +- src: geerlingguy.firewall + version: 1.0.9 + +- src: https://github.com/hardening-io/ansible-os-hardening + name: hardening.os-hardening + +- src: debops.cryptsetup + version: v0.2.1 + +- src: jacksingleton.ramfs