44 Views

11th August 2021

craig.franz@landisgyr.com

Hi All,
I have need to pull source files down from a non public GCP Cloud Bucket and I was wondering if there is any Ansible Modules for windows that support this I was looking into gsutil cmd that can be run from google cloud SDK Shell from a Remote Windows Host running in GCP but was wondering of there is a smarter way to get this done.

Below is my currently playbook method which works pulling the source files down from an internal webserver but the powers that be want to see if we can leverage GCP Buckets instead of below web server option

######## YAML file starts below ########" class="wysiwyg-hashtag">######## YAML file starts below ################ YAML file starts below #######" class="wysiwyg-hashtag">######## YAML file starts below ############### YAML file starts below ######" class="wysiwyg-hashtag">######## YAML file starts below ############## YAML file starts below #####" class="wysiwyg-hashtag">######## YAML file starts below ############# YAML file starts below ####" class="wysiwyg-hashtag">######## YAML file starts below ############ YAML file starts below ###" class="wysiwyg-hashtag">######## YAML file starts below ########### YAML file starts below ##" class="wysiwyg-hashtag">######## YAML file starts below ########## YAML file starts below #" class="wysiwyg-hashtag">######## YAML file starts below ########

---

nameDownload the Nagios NCPA Agent installer

 win_get_url:

 url: http://10.254.5.33/ansible_repo/nagios_agent/windows/ncpa-2.3.1.exe

 destC:\ansible_repo\ncpa-2.3.1.exe

nameInstall Nagios NCPA from the exe

 win_package:

 path'C:\ansible_repo\ncpa-2.3.1.exe'

 creates_path'C:\Program Files (x86)\Nagios\NCPA\ncpa_listener.exe'

 creates_version'2.3.1.0'

######## YAML file ends above ########" class="wysiwyg-hashtag">######## YAML file ends above ################ YAML file ends above #######" class="wysiwyg-hashtag">######## YAML file ends above ############### YAML file ends above ######" class="wysiwyg-hashtag">######## YAML file ends above ############## YAML file ends above #####" class="wysiwyg-hashtag">######## YAML file ends above ############# YAML file ends above ####" class="wysiwyg-hashtag">######## YAML file ends above ############ YAML file ends above ###" class="wysiwyg-hashtag">######## YAML file ends above ########### YAML file ends above ##" class="wysiwyg-hashtag">######## YAML file ends above ########## YAML file ends above #" class="wysiwyg-hashtag">######## YAML file ends above ######## 

Answers
Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo
  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos