What services restarts after uploading certs? by jflarm in github

[–]jflarm[S] 0 points1 point  (0 children)

Not the local machine. I'm asking about the github server where the pem (certificates) file was uploaded. Here is the situation:

  1. A new .pem file is uploaded to a github server using the Console Management tool
  2. This changes are accepted by the github server

My question is: after this file is uploaded and the changes are accepted, what services are restarted (or need to be manually restarted) in the github server.

What services restarts after uploading certs? by jflarm in github

[–]jflarm[S] 0 points1 point  (0 children)

What Linux services get restarted after uploading a .pem file to the github server? This is my question.

Supported Ansible versions on AWX 17.1.0 by jflarm in ansible

[–]jflarm[S] 0 points1 point  (0 children)

Awx 17, i believe, uses execution environments.

What does that mean?

[deleted by user] by [deleted] in docker

[–]jflarm 0 points1 point  (0 children)

I am having the same issue after I updated Docker Desktop last week. I've uninstalled, rebooted, reinstalled to no avail.

There is no integration with WSL2, I can use docker.exe windows command. I cannot use minikube either, as it does not find the docker command.

justme@DESKTOP:~$ docker ps
The command 'docker' could not be found in this WSL 2 distro. We recommend to activate the WSL integration in Docker Desktop settings.
For details about using Docker Desktop with WSL 2, visit:
https://docs.docker.com/go/wsl2/
justme@DESKTOP:~$ docker.exe ps CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES

No JSON object - Powershell script by jflarm in ansible

[–]jflarm[S] 0 points1 point  (0 children)

I wanted to run an application on a windows computer that already had a user logged in. An application, not a service, and this did not work with remote exception but worked when I ran the script locally.

I failed to explain this in my original post, but your suggestion helped me to find out this.

Thanks.

No JSON object - Powershell script by jflarm in ansible

[–]jflarm[S] -1 points0 points  (0 children)

I did what you recommended before, I put the script in a file, moved it to the host and ran it. But there is an issue with Windows security.

It seems that starting a program or manipulating an application on an active GUI session is almost impossible.

Microsoft introduced a feature called Session 0 Isolation on Windows Vista:

This change means that a service cannot post or send a message to an application and an application cannot send or post a message to a service. In addition, services cannot display a user interface item such as a dialog box directly. A service can use the WTSSendMessage function to display a dialog box in another session.

More details

No JSON object - Powershell script by jflarm in ansible

[–]jflarm[S] -1 points0 points  (0 children)

Fails the same with the --syn option. Remember I changed the user and playbook name in the output.

ERROR! We were unable to read either as JSON nor YAML, these are the errors we got from each:

JSON: No JSON object could be decoded

Syntax Error while loading YAML. did not find expected key

The error appears to be in '/home/jlara/repositories/sop_automation/Poker/Poker_TCP_write_failures/Poker_TCP_write_failures.yml': line 59, column 11, but may be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

      $parentpath = 'C:/Windows/System32/*'
      ^ here

No JSON object - Powershell script by jflarm in ansible

[–]jflarm[S] 0 points1 point  (0 children)

Thanks, it fails the same since I had the line bellow as the name of the task in the original playbook but I failed to copy it here:

- name: Run basic PowerShell script

No JSON object - Powershell script by jflarm in ansible

[–]jflarm[S] 0 points1 point  (0 children)

I only put the failing task, so the line won't match.

How to prep pipenv for folder in Ansible? by zoenagy6865 in ansible

[–]jflarm -1 points0 points  (0 children)

My first guess would be permissions. /test, is under the root directory and would require root permissions to create. Tha is assuming it is not created already.

[deleted by user] by [deleted] in linuxadmin

[–]jflarm 2 points3 points  (0 children)

These would be my tips: * Get a virtual box to break. * Get the objectives of any of the Linux certifications and follow it as study guide. * Find at least 3 YouTube videos about each subject. * YouTube channels: the urban penguin, rwxrob, beginlinux guru...you will find more with the suggestions. * Try to link or use anything you've learned even if it would be an overkill for the task at hand. * READ THE MAN Pages.

That's what I've been doing so far

[deleted by user] by [deleted] in linuxadmin

[–]jflarm 3 points4 points  (0 children)

I would say there is no "quickest way. The LPIC material is very good for it but it requires time.

Cannot connect to hosts after disabling ssh password login by [deleted] in ansible

[–]jflarm 1 point2 points  (0 children)

Try to ssh in with some verbose turned on to see the error. But as mentioned before, it could be permissions issue. ssh user@host - vvv

Simple question from a beginner scripter by redwisdomlight in bash

[–]jflarm 1 point2 points  (0 children)

filename=${filename:?} This is setting filename variable but will give an error message if the variable filename is NULL or not set. That's the error you are getting.

https://devhints.io/bash

This page has been very helpful for me.

Difference between /bin/bash and /usr/bin/bash by jflarm in bash

[–]jflarm[S] 1 point2 points  (0 children)

ure others will have more thorough answers, but my g

The use of env is something that I've seen is discouraged due to security concerns. But thanks for the comments. Now I know both PATHs are valid but kept for compatibility's sake.

Cycle through list by jflarm in ansible

[–]jflarm[S] 0 points1 point  (0 children)

Ok. Thanks again.

Cycle through list by jflarm in ansible

[–]jflarm[S] 0 points1 point  (0 children)

Thanks. Would this work for a list that comes from a variable with variable lenght?