Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/roots/trellis
Browse files Browse the repository at this point in the history
  • Loading branch information
pacotole committed Jul 17, 2024
2 parents 1e194b5 + fbd8b41 commit 6739b98
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion group_vars/all/vault.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
vault_mail_password: smtp_password

# Variables to accompany `wordpress_env_defaults` in `group_vars/all/helpers.yml`
# Note: These values can be overriden by `vault_wordpress_sites.*.env`
# Note: These values can be overridden by `vault_wordpress_sites.*.env`
#
# vault_wordpress_env_defaults:
# my_api_key: 'available to all environments'
2 changes: 1 addition & 1 deletion lib/trellis/vagrant.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def update_ssh_config(main_hostname)
config_file = File.expand_path('~/.ssh/config')
vagrant_ssh_config = `vagrant ssh-config --host #{main_hostname}`.chomp

if File.exists?(config_file)
if File.exist?(config_file)
FileUtils.cp(config_file, "#{config_file}.trellis_backup")
ssh_config = File.read(config_file)

Expand Down
2 changes: 2 additions & 0 deletions roles/wordpress-install/tasks/composer-authentications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
command: config
arguments: --auth bitbucket-oauth.{{ item.hostname | quote }} {{ item.consumer_key | quote }} {{ item.consumer_secret | quote }}
working_dir: "{{ working_dir }}"
become: no
no_log: true
changed_when: false
when:
Expand All @@ -34,6 +35,7 @@
command: config
arguments: --auth {{ item.type | quote }}.{{ item.hostname | quote }} {{ item.token | quote }}
working_dir: "{{ working_dir }}"
become: no
no_log: true
changed_when: false
when:
Expand Down

0 comments on commit 6739b98

Please sign in to comment.