Iiab: ./runrole options

Created on 9 Mar 2019  路  4Comments  路  Source: iiab/iiab

We should allow low-level access to Ansible's command-line options through runrole. Ideally, arguments would be passed through directly to the ansible-playbook command.

In particular, I think being able to use tags would be very helpful for redoing parts of the installation process during development (and even during production). For example:

./runrole gitea --tags pre-install

would pass the --tags pre-install arguments through to ansible-playbook, causing only tasks with the pre-install tag to be run.

enhancement question

All 4 comments

Agree more generally, that the script may be extended to support such switches.

Care to do a PR? :)

Ref:

2062 Runrole regression [overstrict checking of local_vars.yml]

@m-anish Wow, I forgot about this. I'll try to work on this in the coming months.

@m-anish Wow, I forgot about this. I'll try to work on this in the coming months.

@aidan-fitz let's coordinate with @jvonau who created most of the ./runrole command, ok?

(Likely as part of IIAB 7.2 since IIAB 7.1 will be released in not-so-many-weeks !)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

holta picture holta  路  5Comments

traverseda picture traverseda  路  9Comments

holta picture holta  路  18Comments

jvonau picture jvonau  路  9Comments

holta picture holta  路  5Comments