diff options
author | Troy Dawson <tdawson@redhat.com> | 2015-08-27 10:27:46 -0500 |
---|---|---|
committer | Troy Dawson <tdawson@redhat.com> | 2015-08-27 15:19:45 -0500 |
commit | f0d03d257f2186c91e99c06e34be737468ea6ad6 (patch) | |
tree | be5ad866e94abe66ed76aad2f98a31ae8229f645 /roles/nickhammond.logrotate/.travis.yml | |
parent | 5c7e1366ad8ae67ef23117d296a65a6ee81ccd29 (diff) | |
download | openshift-f0d03d257f2186c91e99c06e34be737468ea6ad6.tar.gz openshift-f0d03d257f2186c91e99c06e34be737468ea6ad6.tar.bz2 openshift-f0d03d257f2186c91e99c06e34be737468ea6ad6.tar.xz openshift-f0d03d257f2186c91e99c06e34be737468ea6ad6.zip |
Add a role that allows logrotate config editing.
This role gets called for each type of machine, but
if logrotate_scripts is not set, nothing happens.
Diffstat (limited to 'roles/nickhammond.logrotate/.travis.yml')
-rw-r--r-- | roles/nickhammond.logrotate/.travis.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/nickhammond.logrotate/.travis.yml b/roles/nickhammond.logrotate/.travis.yml new file mode 100644 index 000000000..161023def --- /dev/null +++ b/roles/nickhammond.logrotate/.travis.yml @@ -0,0 +1,14 @@ +--- +language: python +python: "2.7" +before_install: + - sudo apt-get update -qq + - sudo apt-get install -qq python-apt python-pycurl +install: + - pip install ansible +script: + - "printf '[defaults]\nroles_path = ../' > ansible.cfg" + - ansible-playbook -i tests/inventory --syntax-check tests/test.yml + - ansible-playbook -i tests/inventory --connection=local --sudo -vvvv tests/test.yml +notifications: + email: false |