Skip to content

Commit

Permalink
Latest fixes as per the mark's review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
neetinkandhare committed Jun 7, 2021
1 parent 07a2d9c commit dcdf56e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
11 changes: 6 additions & 5 deletions fn_ansible_tower/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,12 @@
Specify all changes in this release. Do not remove the release
notes of a previous release
-->
### v1.0.1
* App Host Support

### v1.0.0
* Initial Release
| Release | Date | Notes |
| ------- | ---- | ----- |
| v1.0.3 | 8/6/2022 | Bug fix to handle results data. |

This comment has been minimized.

Copy link
@mscherfling

mscherfling Jun 9, 2021

Collaborator

Should follow US format: 6/8/2021.

| v1.0.2 | 2/2021 | Bug fix for paged results from templates, jobs, etc. |
| v1.0.1 | 12/2020 | App Host support |
| v1.0.0 | 2/2020 | Initial release |

---

Expand Down
8 changes: 4 additions & 4 deletions fn_ansible_tower/apikey_permissions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ read_function
#
## incident permissions
#create_incident
read_all_incidents
#read_all_incidents
#delete_all_incidents
#edit_all_incidents_members
#edit_all_incidents_owner
Expand All @@ -20,7 +20,7 @@ read_all_incidents
edit_all_incidents_fields
#
## notes permissions
edit_all_incident_notes
#edit_all_incident_notes
#
## tasks permissions
#edit_incident_public_task_fields
Expand All @@ -41,7 +41,7 @@ edit_all_incident_notes
#read_users
#
## workflow permissions - needed when using workflow_id
read_workflow
#read_workflow
#
## wiki permissions
#create_wiki
Expand All @@ -56,7 +56,7 @@ read_workflow
#edit_layouts
#delete_layouts
#create_function
read_function
#read_function
#edit_function
#delete_function
#create_script
Expand Down
2 changes: 2 additions & 0 deletions fn_ansible_tower/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ APP_CONFIG_SHA=`sha256sum /etc/rescircuits/app.config`
resilient-circuits run & CIRCUITS_PID=`echo $!`
while true
do
echo -n "`date +'%F %T,%N INFO '`"
if ! echo $APP_CONFIG_SHA | sha256sum --check
then
kill -9 $CIRCUITS_PID
break
fi
if [ "$CIRCUITS_PID" != "`ps -o pid= -p $CIRCUITS_PID|xargs`" ]; then break; fi
sleep 60
done

0 comments on commit dcdf56e

Please sign in to comment.