Ok, I manually updated the role mapping, then ran the module with state =
"absent" and got a 403 unauthorized message. So I added the manage-users
realm-manamgent privilege to the account I was using and was able to make
this module add and remove group mappings.
On Friday, August 19, 2022 at
Can anyone shed some light into this?
1. I'm using the aws_ec2 plugin
2. I can launch an ec2 instance successfully and run commands post launch
My issue comes in when I reference the {{ tags['Name'] }} to pull from AWS
tag Name from the newly created instance. I can see all the tag key/value
i
I added an "id" to the "roles:" dictionary, but now get an error
"TypeError: 'NoneType' object is not subscriptable", so its not clear what
values I'm supposed to be using here.
On Friday, August 19, 2022 at 11:45:51 AM UTC-6 M Foster wrote:
> Oh, I wonder if "id" is also required?
>
> On Frida
Oh, I wonder if "id" is also required?
On Friday, August 19, 2022 at 11:27:45 AM UTC-6 M Foster wrote:
> I'm trying to map client roles to Keycloak groups using the
> keycloak_client_rolemapping module, but everytime I run it even with the
> simplest config it returns the following:
>
> "end_st
I'm trying to map client roles to Keycloak groups using the
keycloak_client_rolemapping module, but everytime I run it even with the
simplest config it returns the following:
"end_state": {},
"msg": "Nothing to do, roles [{'name': 'test-role1', 'id':
'79026951-da5e-43f8-91de-bb0b03c298aa'}] ar
Thank you sir. I am not sure why, but it works with or without the status:
line. Todd found what was breaking my playbook, though. I did add the
status: line just to be consistent, and for readability in the future.
I appreciate both of your assistance, and I hope to contribute in the
future.
Ding! Ding! Ding! I need to get my eyes checked... That was the issue!
Missing the ':'. The list works as expected, now.
I use Pi-Gen to create my custom OS, but I think Ansible is going to be my
replacement, as it does all that Pi-Gen does, but allows me to do it to any
of my Linux machines.
You specify the what. You don't specify the action. You need a state (ie
present, absent, etc).
- name install standard stuff
apt:
name: {{ applications }}
state: present
Walter
--
Walter Rowe, Division Chief
Infrastructure Services, OISM
Mobile: 202.355.4123
On Aug 1
"- name install standard stuff" should be "- name: install standard stuff".
You're missing a colon.
On Friday, August 19, 2022 at 9:24:06 AM UTC-4 kevin.s...@gmail.com wrote:
> New user of ansible. I've tried several playbooks to use as templates.
> My goal is to create a vars.yml with the follow
Wow, thanks for the speedy reply!
Unfortunately for me, that didn't work (adding 2 spaces further indent on
the line " name: {{ applications }} " although it does make sense.
I still get the same error, at the same point. Kinda frustrating when the
keyword "name:" can be used for several dif
Does your 'name' line in your apt task needs to be indented?
- name install standard stuff
apt:
name: {{ applications }}
... should be ...
- name install standard stuff
apt:
name: {{ applications }}
Walter
--
Walter Rowe, Division Chief
Infrastructure Services,
New user of ansible. I've tried several playbooks to use as templates.
My goal is to create a vars.yml with the following:
= = = = =
---
applications:
- app1
- app2
- app3
- and so on
...
= = = = =
and file inventory contains list of new_machines (with appropriate link in
ansible.cfg)
That clearly didn't display correctly ...
You need three close braces at the end of your "-e" extra vars param.
*}* }}' -vvv
Hope that helps.
On Friday, August 19, 2022 at 8:22:03 AM UTC-4 Walter Rowe wrote:
> You need one more "}" on your -e string to close out the server_config.
>
>
> ansib
You need one more "}" on your -e string to close out the server_config.
ansible-playbook php_config.yml -i hosts -e
'{"app_name":"test-80php","base_directory_path":"/var/www/html/applications/test-80php","server_config":{
"display_errors":"Off", "log_errors":"On", "memory_limit":"200M",
"post_m
Hello Team,
Hope you all are doing well.
Here is a case:
### Templates/php_app.conf.j2
;# MANAGED BLOCK ###
php_admin_flag[display_errors] = {{server_config.display_errors}}
php_admin_value[error_log] = {{ server_config.error_log | default({
"error_log":"{{base_directory_path }}/{{app_name}}/log
I'm getting somewhat frustrated with this, I've all of a sudden started
getting the below error on several servers, other servers do not have the
issue (they are all running the same package versions/kernel).
sshpass: Failed to set controlling terminal in child (TIOCSCTTY)
I raised a ticket for
Thank you, gentlemen, for your precious time and efforts, in clearing all
the minor doubts.
Both the solutions worked for me, that Walter and Lewis presented. But
Lewis optimized this more.
It was a productive discussion though.
Thanks & regards,
FARRUKH AHMED
On Tuesday, August 16, 2022 a
17 matches
Mail list logo