Skip to content

Commit

Permalink
stopping facts modules from erroring out
Browse files Browse the repository at this point in the history
  • Loading branch information
rambleraptor committed Feb 20, 2019
1 parent 76a6b15 commit 47229c5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tools/ansible-pr/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ for filename in mm-bug*; do

while read p; do
git checkout magician/devel -- "lib/ansible/modules/cloud/google/$p.py"
git checkout magician/devel -- "test/integration/targets/$p"
if [[ $p != *"facts"* ]]; then
git checkout magician/devel -- "test/integration/targets/$p"
fi
done < $filename

git checkout magician/devel -- "lib/ansible/module_utils/gcp_utils.py"
Expand All @@ -84,7 +86,9 @@ while read module; do
git checkout -b $module

git checkout magician/devel -- "lib/ansible/modules/cloud/google/$module.py"
git checkout magician/devel -- "test/integration/targets/$module"
if [[ $module != *"facts"* ]]; then
git checkout magician/devel -- "test/integration/targets/$module"
fi

git checkout magician/devel -- "lib/ansible/module_utils/gcp_utils.py"

Expand Down

0 comments on commit 47229c5

Please sign in to comment.