Skip to content
This repository has been archived by the owner on Sep 18, 2020. It is now read-only.

This ansible role uses akamai credentials to submit either ARL or CPCODE purges through the Akamai API.

License

Notifications You must be signed in to change notification settings

johnbuhay/ansible-role-akamai-purge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Akamai purge

This role uses akamai credentials to submit either ARL or CPCODE purges through the Akamai API.

Further documentation resources

To check the akamai queue status

ansible-playbook akamai.yml -i inventory/local --tags akamai_status

To purge ARL's (asset resource location?)

ansible-playbook akamai.yml -i inventory/local --tags akamai_purge_arl -vv --extra-vars arl=http://www.example.com/graphics/picture.gif,http://www.example.com/documents/brochure.pdf

To purge CPCODE's

ansible-playbook akamai.yml -i inventory/local --tags akamai_purge_cpcode --extra-vars cpcode=number,number1,number2

To notify flowdock channels via team_profiles definition add the notify_team variable

--extra-vars 'cpcode=number,anotherNumber notify_team=release_team'

To check if an ARL is cached

ansible-playbook akamai.yml -i inventory/local --tags akamai_query -vv --extra-vars arl=https://www.example.com/favicon.ico

Example provided by akamai tech

curl -i -H "Pragma: akamai-x-cache-on, akamai-x-cache-remote-on, akamai-x-check-cacheable, akamai-x-get-cache-key" https://www.example.com/favicon.ico

About

This ansible role uses akamai credentials to submit either ARL or CPCODE purges through the Akamai API.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published