Find Jobs
Hire Freelancers

Ansible iam_managed_policy - Manage User Managed IAM policies

$30-250 USD

In corso
Pubblicato più di 5 anni fa

$30-250 USD

Pagato al completamento
I am trying to create an AWS IAM policy via Ansible playbook. Ref: [login to view URL] I can successfully create the policy using: - name: Create IAM Managed Policy iam_managed_policy: policy_name: "ManagedPolicy" policy_description: "A Helpful managed policy" policy: "{{ lookup('template', '[login to view URL]') }}" state: present I can delete the policy with: # Remove a policy - name: Create IAM Managed Policy iam_managed_policy: policy_name: "ManagedPolicy" state: absent But I want to create the policy without having to use policy: "{{ lookup('template', '[login to view URL]') }}". Instead, I want to use something like the 4th example but I will not work. # Update a policy and make it the only version and the default version - name: Create IAM Managed Policy iam_managed_policy: policy_name: "ManagedPolicy" policy: "{ 'Version': '2012-10-17', 'Statement':[{'Effect': 'Allow','Action': '*','Resource': '*'}]}" only_version: true state: present I want to add my value as one long line like the above. Please let me know if this is possible. Otherwise, other than creating the file in the directory I am running my playbook from, please let me know if there is a better way. I can do this from the console and cli already... I want to use Ansilble.
Rif. progetto: 17994636

Info sul progetto

2 proposte
Progetto a distanza
Attivo 6 anni fa

Hai voglia di guadagnare un po'?

I vantaggi delle offerte su Freelancer

Imposta il tuo budget e le scadenze
Fatti pagare per il lavoro svolto
Delinea la tua proposta
La registrazione e le offerte sui lavori sono gratuite
2 freelance hanno fatto un'offerta media di $167 USD
Avatar dell'utente
Let me first understand your requirement on call and post that we can go ahead with the configuration
$222 USD in 3 giorni
0,0 (0 valutazioni)
0,0
0,0
Avatar dell'utente
AWS-certified professional. I have good hands-on experience with Ansible and automating tasks on AWS using Ansible.
$111 USD in 2 giorni
0,0 (0 valutazioni)
0,0
0,0

Info sul cliente

Bandiera: UNITED STATES
SUGAR HILL, United States
5,0
8
Metodo di pagamento verificato
Membro dal mag 24, 2008

Verifica del cliente

Grazie! Ti abbiamo inviato tramite email il link per richiedere il tuo bonus gratuito.
Non è stato possibile inviarti l'email. Riprova per piacere.
di utenti registrati di lavori pubblicati
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Caricamento anteprima
Autorizzazione per la geolocalizzazione concessa.
La tua sessione è scaduta ed è stato effettuato il log out. Accedi nuovamente per piacere.