Old ansible configuration for servers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.yml 597B

123456789101112131415161718192021222324252627282930
  1. ---
  2. - name: install git
  3. apt: pkg=git
  4. tags: [ds-tools]
  5. - name: install dependencies
  6. apt: pkg={{item}}
  7. with_items:
  8. - libxml2-dev
  9. - libxslt1-dev
  10. - zlib1g-dev
  11. - xvfb
  12. tags: [ds-tools]
  13. - name: clone git repository
  14. git: accept_hostkey=yes
  15. dest={{ ds_dir }}
  16. repo=git@github.com:csmith/duty-sheet-reports.git
  17. tags: [ds-tools]
  18. - name: chown checked out files
  19. file: owner={{ ds_user }}
  20. path={{ ds_dir }}
  21. recurse=true
  22. tags: [ds-tools]
  23. - name: install python dependencies
  24. pip: requirements={{ ds_dir }}/requirements.txt
  25. tags: [ds-tools]