Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Hostname tasks need to be run for php and drupal tags to work #1261

Closed
geerlingguy opened this issue Mar 26, 2017 · 0 comments
Closed

Hostname tasks need to be run for php and drupal tags to work #1261

geerlingguy opened this issue Mar 26, 2017 · 0 comments
Labels

Comments

@geerlingguy
Copy link
Owner

Issue Type

  • Bug Report

Your OS

  • Linux (Ubuntu 16.04 LTS)

Full console output

TASK [Configure /etc/mailname.] ************************************************
fatal: [138.197.108.187]: FAILED! => {"failed": true, "msg": "the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'hostname_fqdn' is undefined\n\nThe error appears to have been in '/Users/jgeerling/Sites/drupalvm-live/vendor/geerlingguy/drupal-vm/provisioning/tasks/init-debian.yml': line 15, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Configure /etc/mailname.\n  ^ here\n"}

Summary

If you run a deploy with --tags=drupal, then this could occur because the hostname_fqdn may not be set (it's set up in the hostname.yml include file).

Therefore we need to make sure the hostname.yml include task is run for php and drupal tags.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant