Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing scaffolding plugin after install #177

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions post-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,29 @@
mode: 0775
recurse: yes

- name: Chown default.settings.yml
file:
dest: "{{ drupal_core_path }}/sites/default/default.settings.php"
state: file
owner: "{{ webserver_app_user }}"
group: "{{ webserver_app_user }}"
mode: 0664

- name: Chown default.services.yml
file:
dest: "{{ drupal_core_path }}/sites/default/default.services.yml"
state: file
owner: "{{ webserver_app_user }}"
group: "{{ webserver_app_user }}"
mode: 0664

- name: Remove drupal scaffolding
composer:
command: remove
arguments: "drupal/core-composer-scaffold"
working_dir: "{{ drupal_composer_install_dir }}"
ignore_errors: yes

- name: Clear cache
command: "{{ drush_path }} --root {{ drupal_core_path }} -y cr"