Commit Graph

9 Commits

Author SHA1 Message Date
Takashi Kajinami 0235a734e4 Fix python shebang
The current shebang requires /usr/bin/python which is not available in
Ubuntu Jammy by default.

Change-Id: I142472eb20591fc752db9ca06c954d362cd3e405
2023-10-17 16:02:20 +00:00
Andreas Jaeger 5999d35cb6 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

Remove hacking and friends from lower-constraints, they are not needed
for installation.

Change-Id: I035eb2f83c289ff994c77b02d5f3c2f9a0d583d8
2020-04-07 11:41:45 +02:00
Mariusz 82037a90db [Ansible] Look for inventory in SoftwareConfig options
Currently, the only way to use a custom inventory is to change the
HEAT_ANSIBLE_INVENTORY environment variable. This becomes a problem when
the inventory has to be changed between playbook runs from two
sequential SoftwareDeployments, as environment variables won't be
reloaded.

This change allows to specify the location of the inventory in the
"options" map for each SoftwareConfig.

Change-Id: I6709213240119e999d4f36e2938b0de9311d2556
2019-03-15 14:13:26 +00:00
rabi 6e8e631d34 Organize heat-agents docs
This organizes the heat-agents docs as per the openstackdocs format.
Also adds the team and repository tags.

Change-Id: I997dd3f52c9cd9f8ea274520e033de3ef582401c
2017-08-04 08:52:27 +05:30
Thomas Herve 25cd394bbe Add py3.5 support
Depends-On: Ibda89b467b461b8833515f50a0cf1cc3064cb917
Change-Id: I68ac61b7d1d0d180a7696ae2f0f75b1a4a969995
2017-07-17 13:43:43 +00:00
Steve Baker 3a86f8789c Set the config ID as an ansible variable
This change sets the ansible variable called heat_config_id to the
'id' value of the heat config data.

This will be useful in some playbooks to make idempotency decisions.

Change-Id: I5f03e012b2fb97cc0076c886ca7bd3f284d19032
2017-04-28 13:33:27 +12:00
David Moreau-Simard 0d52f5b047 Add a generic option to configure Ansible callbacks in the agent
Ansible callbacks [1] are used to hook into Ansible events such
as running tasks. They can be used to alter the behavior of Ansible
like providing helpful console output for tasks.

[1]: http://docs.ansible.com/ansible/dev_guide/developing_plugins.html#callback-plugins

Change-Id: I7e2c041ca359ab63140102c9d4a22914d9add228
2017-03-17 11:01:20 -04:00
Steven Hardy 93517603eb Add --skip-tags to ansible hook
We recently added --tags, but exposing --skip-tags can also
be useful (we want to use it in tripleo to optionally skip
validation tasks when resuming upgrades from a failed state).

Change-Id: I18214f80be9f3ad6c2d385fc00f3b786d3e7dda3
2017-01-23 16:30:28 +00:00
Thomas Herve d802d177c7 Move elements at the top level 2017-01-04 16:57:10 +01:00