Sha256: 9615852d2cfce4bfa87b26f09679814ef6be3815bffccfa7b605a4a340ea6816
Contents?: true
Size: 1.86 KB
Versions: 2
Compression:
Stored size: 1.86 KB
Contents
--- - name: Install rails apt dependencies apt: name: "{{item}}" with_items: - git - libffi-dev - libgmp3-dev - libpq-dev - libxslt-dev - nodejs - zlib1g-dev become: true when: ('Ubuntu' in ansible_distribution) - name: Install imagemagick apt: name: ['imagemagick', 'libmagickwand-dev'] become: true tags: - imagemagick when: ('Ubuntu' in ansible_distribution) - name: Update ImageMagick policy to enable reading PDF files lineinfile: path: /etc/ImageMagick-6/policy.xml regexp: '<policy domain="coder" rights="none" pattern="PDF" />' line: ' <policy domain="coder" rights="read" pattern="PDF" />' backrefs: yes become: true tags: - imagemagick when: ('Ubuntu' in ansible_distribution) - name: Create /u/apps/{{project_name}}/shared/config file: path: /u/apps/{{project_name}}/shared/config/ state: directory become: true become_user: "{{deploy_user}}" - name: Create database.yml template: src: database.yml dest: /u/apps/{{project_name}}/shared/config/database.yml owner: "{{deploy_user}}" become: true - name: Create application.yml (legacy) when: appyml is defined template: src: application.yml dest: /u/apps/{{project_name}}/shared/config/application.yml owner: "{{deploy_user}}" become: true tags: - appyml - debug: msg: "Warning: Using legacy appyml for variable configuration. Consider switching to application.yml.template" verbosity: 0 when: appyml is defined tags: - appyml - name: Create application.yml when: appyml is not defined template: src: application.yml.template dest: /u/apps/{{project_name}}/shared/config/application.yml owner: "{{deploy_user}}" tags: - appyml
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
subspace-2.0.1 | ansible/roles/rails/tasks/main.yml |
subspace-2.0.0 | ansible/roles/rails/tasks/main.yml |