Skip to content
Snippets Groups Projects
Select Git revision
  • d96ac848cd02352261f6c587f6a928de1ee92696
  • master default
2 results

main.yml

Blame
  • main.yml 601 B
    ---
    # tasks file for pelican-gitreceive
    - name: Assertions
      assert:
        that:
            - ansible_os_family in ['OpenBSD', 'Debian']
            - ansible_distribution_release in ['6.0', 'xenial', 'trusty', 'jessie']
            - pelican_gitreceive_public_keys is iterable
            - pelican_gitreceive_output is defined
    
    - name: pip install
      with_items:
          - pelican
          - fabric
      pip:
          name: '{{ item }}'
          state: present
    
    - name: Create directory structure
      file:
          path: /var/www/htdocs/www.shore.co.il/blog/
          owner: git
          group: git
          state: directory
          mode: 0o0755