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

#35 Provide additional settings as option files included in playbook #37

Merged
merged 2 commits into from
Apr 3, 2018

Conversation

dortegau
Copy link
Member

@dortegau dortegau commented Apr 3, 2018

Requirements

  • Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
  • All new code requires tests to ensure against regressions
  • Remember to set idealista:develop as base branch;

Description of the Change

Adding the ability to use additional option files in a preconfigured path (defined in default vars)

Benefits

Additional settings could be provided as option files (including templates and files with the playbook)

Applicable Issues

#35

@@ -16,6 +16,11 @@ mysql_config_file: /etc/mysql/my.cnf
mysql_pid_file: /var/run/mysqld/mysqld.pid
mysql_datadir: /var/lib/mysql

# Allowing playbooks to provide external option files
mysql_extra_conf_include_dir: /etc/mysql/conf.d/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'wd remove the trailing slash, to avoid ugly paths like: "{{ mysql_extra_conf_include_dir }}/test_template.cnf":

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done 😄

@dortegau dortegau merged commit a654ea0 into develop Apr 3, 2018
@dortegau dortegau deleted the features/35 branch April 3, 2018 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants