Commit graph

331 commits

Author SHA1 Message Date
Peter Mosmans
985a6792ef
Make sure that an element exists before assigning it (#26) 2020-02-25 16:09:15 +00:00
Mohamed El Mouctar HAIDARA
1ce01cd5da Update __version__ in the init 2020-02-18 13:50:49 +00:00
Mohamed El Mouctar HAIDARA
68a40ada2a Add ansible 2.9.5 in travis 2020-02-18 13:49:42 +00:00
Mohamed El Mouctar HAIDARA
cf62dca6ae Update changelog for 0.9.2 2020-02-18 13:41:05 +00:00
Mohamed El Mouctar HAIDARA
9f501fbf32 Update changelog for upcomming release [ci skip] 2020-01-13 20:20:20 +01:00
Mohamed El Mouctar Haidara
d875b04115
Support for Ansible 2.9 (#25)
* Drop support for ansible 2.7 and new CLI for ansible 2.9

* Remove python2 support
2020-01-13 20:17:10 +01:00
Mohamed El Mouctar HAIDARA
a6f11b4512 Ignore vagrant related files 2020-01-13 18:26:54 +01:00
Mohamed El Mouctar Haidara
929a72d29e
Travis: add ansible 2.9 and remove ansible 2.7 2019-11-13 15:06:34 +01:00
Mohamed El Mouctar HAIDARA
e10e50c2cb travis: test for ansible 2.8.6 2019-11-08 14:01:01 +01:00
Mohamed El Mouctar HAIDARA
e8e80a9129 travis add test for ansible 2.8.2 2019-07-11 23:06:34 +02:00
Mohamed El Mouctar HAIDARA
faf0ae0cb3 Update changelog for 0.9.1 2019-06-10 01:07:22 +02:00
Mohamed El Mouctar Haidara
5f051df6f6
fix #18: New CLI compatible with ansible 2.8 (#19)
This change is needed because of https://github.com/ansible/ansible/pull/50069.

The new CLI in this PR should be used in the future when we drop support
for Ansible < 2.8
2019-06-10 01:00:49 +02:00
Mohamed El Mouctar HAIDARA
1ac40f85f5 travis: add ansible 2.8 2019-06-06 22:49:19 +02:00
Mohamed El Mouctar Haidara
3d0fa28cec Update issue templates 2019-06-06 22:42:28 +02:00
Mohamed El Mouctar Haidara
1eda8bba62 Add issue templates 2019-06-06 22:40:02 +02:00
Mohamed El Mouctar HAIDARA
91247864d6 Changelog: add missing note about Ansible 2.7.0 requirement 2019-04-09 10:42:47 +02:00
Mohamed El Mouctar HAIDARA
5147d410cf Changelog: rename include_playbook to import_playbook 2019-04-08 23:22:26 +02:00
Mohamed El Mouctar HAIDARA
156ebeaf58 Bump version 0.9.0 2019-04-08 21:14:26 +02:00
Mohamed El Mouctar HAIDARA
a4ffc118d8 Update changelog for 0.9.0 2019-04-08 21:13:53 +02:00
Mohamed El Mouctar HAIDARA
c45ccc39e7 Add dot extension to graphviz exported file 2019-04-03 23:49:08 +02:00
Mohamed El Mouctar HAIDARA
f725f3c529 Update Readme: The grapher now requires ansible >= 2.7.0 2019-04-03 23:47:08 +02:00
Mohamed El Mouctar HAIDARA
a11a8729c7 Simple quote to double quotes 2019-04-03 23:42:36 +02:00
Mohamed El Mouctar Haidara
e5054b6770
Merge pull request #17 from haidaraM/fixIssue16NestedInclude
Support for include_role, import_playbook, some refactoring
2019-04-03 23:09:13 +02:00
Mohamed El Mouctar HAIDARA
78f75f6ad1 New tests for import_playbook 2019-03-30 01:43:41 +01:00
Mohamed El Mouctar HAIDARA
567abd5407 Pass role to load_list_of_blocks so that they know they are from a role 2019-03-30 01:09:50 +01:00
Mohamed El Mouctar HAIDARA
49c888883b banner with play name 2019-03-30 00:39:37 +01:00
Mohamed El Mouctar HAIDARA
97067c0a68 Add play_counter to play node to distinguish plays with the same hosts 2019-03-29 19:09:42 +01:00
Mohamed El Mouctar HAIDARA
c1eb60894e Fix option save_dot_file 2019-03-29 18:54:50 +01:00
Mohamed El Mouctar HAIDARA
6f21ad225a Print more messages when graphing 2019-03-29 01:38:49 +01:00
Mohamed El Mouctar HAIDARA
8e1e313f0c Warning if variable in include is undefined, uuid.uuid4() as id suffix 2019-03-27 23:58:27 +01:00
Mohamed El Mouctar HAIDARA
e45f957621 Fix tag on task id 2019-03-27 22:48:16 +01:00
Mohamed El Mouctar HAIDARA
5b3336f296 Add when condition on the tasks 2019-03-27 22:39:19 +01:00
Mohamed El Mouctar HAIDARA
521875d50b Fix tests name 2019-03-27 22:28:25 +01:00
Mohamed El Mouctar HAIDARA
a51997dcce fix deprecation warning: using a loop via squash_actions 2019-03-27 22:04:47 +01:00
Mohamed El Mouctar HAIDARA
65b6013ea7 commont tests for test_nested_import_playbook 2019-03-27 00:03:52 +01:00
Mohamed El Mouctar HAIDARA
5f2817e7ff fix handle_include_path, update playbook level2.yml to use playbook_dir 2019-03-26 23:56:13 +01:00
Mohamed El Mouctar HAIDARA
6d47e52a92 Template the returned include_before trying to import it 2019-03-26 17:27:18 +01:00
Mohamed El Mouctar HAIDARA
c7cf874231 Bump version to 0.9.0-dev 2019-03-26 00:26:13 +01:00
Mohamed El Mouctar HAIDARA
aa556c67c3 Add test for nested import playbook and include 2019-03-26 00:25:34 +01:00
Mohamed El Mouctar HAIDARA
d73e94231d basedir of the loader is based on the play or playbook path 2019-03-26 00:25:34 +01:00
Mohamed El Mouctar HAIDARA
92df88d156 New tests for import_playbook 2019-03-26 00:25:34 +01:00
Mohamed El Mouctar HAIDARA
e03889ccde Remove example prefix from tests 2019-03-26 00:25:34 +01:00
Mohamed El Mouctar HAIDARA
7dbaccd781 Do not include role from "import_role" to prevent duplicate 2019-03-26 00:25:34 +01:00
Mohamed El Mouctar HAIDARA
6c1ea24456 travis: only build on master, others build should be PRs 2019-03-26 00:25:34 +01:00
Mohamed El Mouctar HAIDARA
2c27b3e621 Note on my CLI and Ansible 2.9: optparse will be replaced by argparse 2019-03-26 00:25:34 +01:00
Mohamed El Mouctar HAIDARA
ee10caa4ba Pass all the options to the grapher 2019-03-26 00:25:34 +01:00
Mohamed El Mouctar HAIDARA
28039f8239 travis: Remove ansible 2.4, 2.5, 2.6. Update python3 to 3.6 2019-03-26 00:25:34 +01:00
Mohamed El Mouctar HAIDARA
ce9a61d341 Fix requirements_tests path in setup.py 2019-03-26 00:25:34 +01:00
Mohamed El Mouctar HAIDARA
58175a0917 Make test test_example_import_role the last test. Need to fix that later 2019-03-26 00:25:34 +01:00
Mohamed El Mouctar HAIDARA
0df5618013 move tests related files to tests/, FIXTURES_DIR relative to tests 2019-03-26 00:25:34 +01:00